For the complete documentation index, see llms.txt. This page is also available as Markdown.

tokens_revoke

Revoke read only auth token for an account

post
/api/v1/tokens/revoke
Header parameters
authorizationstringRequired

Auth token in the Authorization header.

Body
token_idinteger · int64Required
account_indexinteger · int64Required
Responses
200

A successful response.

application/json
codeinteger · int32RequiredExample: 200
messagestringOptional
token_idinteger · int64Required
revokedbooleanRequired
post/api/v1/tokens/revoke
POST /api/v1/tokens/revoke HTTP/1.1
Host: mainnet.zklighter.elliot.ai
authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 32

"token_id=1&account_index=1"
{
  "code": 200,
  "message": "text",
  "token_id": 1,
  "revoked": true
}

Last updated

Was this helpful?