light-mode-image
Learn
API ReferenceClaim source

Update a claims source

Roles

adminissuermanaged-issuer
PUT/v1/claim-sources/{id}

Updates an existing claim source by providing its claimSourceID.

Analytic event

  • CLAIM_SOURCE_UPDATE_START
  • CLAIM_SOURCE_UPDATE_SUCCESS
  • CLAIM_SOURCE_UPDATE_FAIL

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Claims source ID

Formatuuid

Request Body

application/json

The updated claims source payload

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PUT "https://example.com/v1/claim-sources/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "url": "string",    "requestParameters": {      "mapFrom": "string"    },    "authorization": {      "type": "api-key"    }  }'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "name": "string",  "url": "string",  "requestMethod": "GET",  "requestParameters": {    "mapFrom": "string"  },  "authorization": {    "type": "api-key",    "value": "string"  }}

How would you rate this page?