cURL
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": [ "" ] }
Delete multiple named API tokens for the authenticated user in a single request
Bulk token deletion request
["token1", "token2"]
OK
[""]
Was this page helpful?