Auth Tokens

Auth Token Create

Create Auth Token

post/api/v1.auth-token.create

Request body

namespacestring nullable
namestring required
prefixstring
suffixstring nullable
expiry_msinteger nullable

Milliseconds from now until the token expires.

metadataobject
owner_idstring required
scopesstring[]
enabledboolean

Whether the token is enabled. Defaults to true.

Example request

{
  "namespace": "some_namespace"
}

Response

idstring required
createdinteger required
updatedinteger required
tokenstring required

Changes