Api Keys

List all API keys for a user

get
Header parameters
passwordany ofOptional

The password header to use to fetch the preview

stringOptional
or
nullOptional
Body
Responses
chevron-right
200

Successful Response

application/json
get
/api-keys

Create an API key for a user

post
Header parameters
passwordany ofOptional

The password header to use to fetch the preview

stringOptional
or
nullOptional
Body
nameany ofOptional

A human-readable name for the API key

stringOptional
or
nullOptional
expires_atany ofOptional

The date and time when the API key will expire

string · date-timeOptional
or
nullOptional
Responses
chevron-right
200

Successful Response

text/plain
Responsestring
post
/api-keys

Delete an API key

delete
Path parameters
api_key_idstring · uuidRequired
Header parameters
passwordany ofOptional

The password header to use to fetch the preview

stringOptional
or
nullOptional
Body
Responses
chevron-right
200

Successful Response

application/json
Responseany
delete
/api-keys/{api_key_id}

No content

Last updated