Update API Key State

Update the state of an API key for any user in your organization.

Log in to see full request history
Path Params
string
required

Name of the API key.

string
required

Email of the API key owner. Use self to specify the currently authenticated user.

Body Params

JSON object

boolean

If set to true, the expiration time for this key will be cleared.

string

If provided, the API key will automatically expire at this time (ISO-8601 format). Requires premium.

string

State that the api key should be set to.

Responses

Response body
object
data
object

The API key that was updated.

string

Date that API key was created (ISO-8601 format).

string

Email of API key owner.

string

Name of the API key that was used to create this object if one was used.

string

The expiration date of this API key.

string
required

This field will only be populated with the full key when creating an API key. Otherwise, it will be an API key identifier of 6 characters.

string

Date that API key was most recently used (ISO-8601 format).

string
required

Name of the API key.

string

Role specifying access control. If not specified, API key will have access to all of the associated user's roles.

string

Current state of this key.

ACTIVE SUSPENDED

Language
Credentials
URL