v4

latestOpenAPI 3.0.32026-07-312,317012.2 MB
Token Auth

Create token for machine identity with Token Auth

post/api/v1/auth/token-auth/identities/{identityId}/tokens

Path parameters

identityIdstring required

The ID of the machine identity to create the token for.

Request body

namestring

The name of the token to create.

organizationSlugstring

The sub organization name to scope the token to.

Response

Default Response

accessTokenstring required
expiresInnumber required
accessTokenMaxTTLnumber required
tokenType'Bearer' required