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

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;apiKey&quot;:{&quot;value&quot;:&quot;\u003cError: Could not resolve allOf schema&quot;}}