Get a credential

This operation returns details about a specific credential for an API client. To change the credential's expiration date or toggle its activation status, run the Update credential for an API client operation.

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.

string
required

Unique identifier for each API client. To get this value, run the List API clients operation.

Query Params
boolean
Defaults to false

Includes actions you can perform on the object, false by default.

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.

Response

Response body
object
actions
object

Specifies activities available for the credential.

boolean
required

Whether you can remove the credential.

boolean
required

Whether you can activate the credential.

boolean
required

Whether you can deactivate the credential.

boolean
required

Whether you can modify the credential's description.

boolean
required

Whether you can modify the credential's expiration date.

string
required
length ≥ 1

Part of the credential that identifies the API client.

date-time
required

ISO 8601 timestamp indicating when the credential was created.

integer
required
≥ 1

Unique identifier each credential.

string
required
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.

date-time
required

An ISO 8601 timestamp limit for credentials expiring.

string
required
length ≥ 1

Whether a credential is ACTIVE, INACTIVE, or DELETED. Activating or deactivating the credential changes the value between ACTIVE and INACTIVE, but you can't reactivate any DELETED credentials.

ACTIVE INACTIVE DELETED

Language
Authentication
URL