These docs are for v1. Click to read the latest docs for v3.

Update a credential

Modifies credential details. You can change the expiration date, description, or toggle the activation status. This isn't the same as rotating a credential. For credential rotation, see Rotate credentials.

Path Params
integer
required

A credential's unique identifier.

string
required

A unique identifier for each API client.

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

Specifies updated credentials.

string
length ≥ 1

Part of the credential that identifies the API client.

date-time

ISO 8601 timestamp indicating when the credential was created.

integer
≥ 1

Uniquely identifies each credential.

string
length ≥ 0

A descriptive label for the API client.

date-time
required

ISO 8601 timestamp indicating when the credential expires.

string
enum
required
length ≥ 1

The credential's status. Possible value are ACTIVE or INACTIVE.

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
*/*