Update your credential

PUT https://{{host}}/identity-management/v3/api-clients/self/credentials/:credentialId

This operation updates a specific credential for your API client. You can change the expiration date, description, or toggle the activation status. This isn't the same as rotating a credential. For details, see Rotate credentials.

Request Params

KeyDatatypeRequiredDescription
accountSwitchKeystring(Optional) For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request Body

{"description"=>"Update this credential", "expiresOn"=>"2020-10-11T23:06:59.000Z", "status"=>"ACTIVE"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"description":"Update this credential","expiresOn":"2020-10-11T23:06:59.000Z","status":"ACTIVE"}