cURL
curl --request DELETE \ --url https://api.thundercompute.com:8443/v1/tokens/bulk \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "deleted": [ "token1", "token2" ], "failed": [ "" ] }
Delete multiple named API tokens for the authenticated user in a single request
Bulk token deletion request
The body is of type object.
object
OK
["token1", "token2"]
[""]
Was this page helpful?