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

Represents an update to a credential, including its expiration date and status.

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:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json