Update your credential

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.

Path Params
integer
required

Unique identifier for each credential. To get this value for your credentials, run the List your credentials operation. For other users' credentials, run the List credentials operation.

Query Params
string

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.

Body Params
string
length ≥ 0

Descriptive label for the credential.

date-time
required

ISO 8601 timestamp for when the credential expires. The default expiration date is two years from the creation date.

string
enum
required
length ≥ 1

Whether a credential is ACTIVE, INACTIVE, or DELETED. You can switch the status between ACTIVE and INACTIVE. You can't reactivate DELETED credentials.

Allowed:
Response

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json