Skip to main content
POST
/
v2
/
BulkDeleteTokens
Delete tokens in bulk
curl --request POST \
  --url http://localhost:3000/v2/BulkDeleteTokens \
  --header 'Content-Type: application/json' \
  --header 'X-Bunker-Token: <api-key>' \
  --data '
{
  "unlockuuid": "<string>",
  "tokens": [
    "<string>"
  ],
  "request_metadata": {}
}
'
{
  "status": "ok",
  "deleted": 123
}

Authorizations

X-Bunker-Token
string
header
required

API token for authentication

Body

application/json
unlockuuid
string
required

UUID from bulk list unlock

tokens
string[]
required

Array of token UUIDs to delete

request_metadata
object

Additional metadata for the request

Response

200 - application/json

Tokens deleted successfully

status
string
Example:

"ok"

deleted
integer

Number of tokens successfully deleted