Keys
Create a key
POST
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
The name of the key
Required string length:
4 - 64
Example:
"My New Key"
The expiration date of the key
Available options:
1-day
, 7-days
, 30-days
, 60-days
, 90-days
, 180-days
, 1-year
, never
Example:
"90-days"
Response
201
application/json
Create a key
The id of the key
Example:
"key_4VjHrJoEwAFC6itz8oUBW9NW2bia"
The name of the key
Required string length:
4 - 64
Example:
"My New Key"
The id of the workspace
Example:
"ws_4VjHrJoEwAFC6itz8oUBW9NW2bia"
The expiration date of the key
Example:
"2024-07-23 12:41:45.38215"
The last time the key was used
Example:
"2024-07-23 12:41:45.38215"