v1

latestSwagger 2.02026-07-17172265595.1 KB
keys

Create Workspace Key

Creates workspace key for the defined role with the defined name in the workspace.

post/auth/api/v1/key/create

Request body

namestring

Name of the key

role'admin' | 'editor' | 'viewer'

Response

OK

activeboolean

Activity state of the key

created_atstring

Creation timestamp in UTC

idinteger

Unique identifier for the key

namestring

Name of the key

roleName'admin' | 'editor' | 'viewer'
tokenstring

Token of the key

Example response

{
  "active": true,
  "created_at": "2023-03-31T09:36:09.855Z",
  "id": 1,
  "name": "example"
}