UPDATE - Update API key
PUT {{baseUrl}}/config/admin/apikey/:apiKeyId
This endpoint is used to update an existing API key for accessing endpoints in the consent building block. It can be updated for a specific scope. E.g. Config, Onboard, Audit, Service.
Request Body
{"apiKey"=>{"scopes"=>["<string>", "<string>"], "expiryInDays"=>30}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"apiKey":{"value":"\u003cError: Could not resolve allOf schema"}}