v51

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0172165343.2 KB
Auth Tokens

Auth Token Rotate

Rotate Auth Token

post/api/v1.auth-token.rotate

Request body

namespacestring nullable
idstring required
prefixstring
suffixstring nullable
expiry_msinteger nullable

Milliseconds from now until the old token expires. None means expire immediately.

Example request

{
  "namespace": "some_namespace",
  "id": "key_06etngr201xwv7qj08mt4cs03w"
}

Response

idstring required
createdinteger required
updatedinteger required
tokenstring required

Example response

{
  "id": "key_06etngr201xwv7qj08mt4cs03w"
}