Skip to main content
DELETE
/
tokens
/
bulk
Delete multiple API tokens
curl --request DELETE \
  --url api.thundercompute.com:///8443/v1/tokens/bulk \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "names": [
    "token1",
    "token2"
  ]
}
'
{
  "deleted": [
    "token1",
    "token2"
  ],
  "failed": [
    ""
  ]
}

Authorizations

Authorization
string
header
required

Body

application/json

Bulk token deletion request

names
string[]
required
Example:
["token1", "token2"]

Response

OK

deleted
string[]
Example:
["token1", "token2"]
failed
string[]
Example:
[""]