v1

latestOpenAPI 3.1.02026-07-226168131.5 KB
api-key

Generate personal access token

DEPRECATED: Use /orgs/current/personal-access-tokens instead

post/api/v1/api-key/current

Request body

descriptionstring
read_onlyboolean
expires_atstring date-time nullable
workspacesstring[] nullable
role_idstring uuid nullable
org_role_idstring uuid nullable
default_workspace_idstring uuid nullable

Response

Successful Response

created_atstring date-time nullable
idstring uuid required
short_keystring required
descriptionstring required
read_onlyboolean
last_used_atstring date-time nullable
expires_atstring date-time nullable
workspace_namesstring[] nullable
default_workspace_namestring nullable
role_idstring uuid nullable
org_role_idstring uuid nullable
access_scope'organization' | 'workspace'
keystring required