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
Key | Datatype | Required | Description |
---|---|---|---|
accountSwitchKey | string | (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
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"description":"Update this credential","expiresOn":"2020-10-11T23:06:59.000Z","status":"ACTIVE"}