Skip to Content
OpenPerf

API tokens

Revoke an API token

DELETE
/api/v1/api-tokens/{id}

Revokes an API token immediately so it can no longer authenticate requests.

Authorization

cookie
cookiebetter-auth.session_token<token>

Dashboard session cookie

Path Parameters

id*string

Response Body

application/json
  1. response
id*string
Example Request
curl -X DELETE 'https://api.example.com/api/v1/api-tokens/string'
Example Response
{
  "id": "string"
}