Lock an API client

This operation locks an API client, preventing it from making requests on the network. You can't use the API client while it's locked. To unlock a client, run the Unlock an API client operation.

Path Params
string
required

Unique identifier for each API client. To get this value, run the List API clients 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.

Response

Response body
object
string
required
length ≥ 1

Part of the client secret that identifies your API client and lets you access applications and resources. It helps form the unique hostname the client uses to call the API. Tokens are unique per client.

integer
required
≥ 0

Number of credentials active for the API client. When the count is zero, you can delete the API client without interruption.

boolean
required

Whether the API client can manage more than one account. For details, see Manage many accounts with one API client.

authorizedUsers
array of strings
required
length ≥ 1

Usernames of the API client's valid users. The CLIENT and USER_CLIENT client type have only a single user, and SERVICE_ACCOUNTS can have many.

authorizedUsers*
boolean
Defaults to false

Whether the API client can create a credential for a new API client.

string
required
length ≥ 1

Descriptive label about the API client.

string
required
length ≥ 1

Unique identifier for each API client.

string
required
length ≥ 1

Descriptive label for the API client.

string
enum
required

Specifies the API client's ownership and credential management. CLIENT indicates the creator owns and manages the credentials. USER_CLIENT indicates another user owns the client and manages the credentials. SERVICE_ACCOUNT indicates only authorizedUsers can manage the client's credentials. The SERVICE_ACCOUNT type doesn't apply to create and update API clients operations.

CLIENT USER_CLIENT SERVICE_ACCOUNT

string
required
length ≥ 1

The user who created the API client.

date-time
required

ISO 8601 timestamp indicating when the API client was created.

boolean
required

Whether the API client is locked, preventing it from making requests on the network.

notificationEmails
array of strings
required
length ≥ 0

Email addresses to notify users of expiring credentials.

notificationEmails*
string
required
length ≥ 1

Unique identifier for the service hostname.

Language
Authentication
URL