API Keys

Create an API key

Allows admins to create an API key for another user.

post/admin/api_keys

Request

Request body

user_idstring required

Id of the user the key will be created for

namestring

The name for the API key

collection_idstring

The id of the collection you want the key to be configured to

expires_instring

Interval of when the API key should expire

inactivity_intervalinteger

The number of days a key can be unused for (no activity) before it becomes invalid.

Example request

{
  "expires_in": "30 days",
  "inactivity_interval": 60
}

Response

Successful operation

secret_keystring required

The secret key associated with the newly generated API Key.

Changes

No recorded changes to this operation across all 1 revision of this API.