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
keystring required

Changes

Changed in 2 of the 48 revisions of this API.11

    • removed the optional property default_workspace_name from the response with the 200 status

      response-optional-property-removed

    This revision also has 25 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property default_workspace_name to the response with the 200 status

      response-optional-property-added