Authentication
Delete (revoke) an API token.
Changed ondelete/api/external/v1/delete-api-token
Request
- Base URLhttps://backend.genpage.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
token_idstring required
The id returned by get-api-tokens.
Example:9f1c...
Response
Example response
{
"message": "API token deleted successfully"
}Changes
- breaking
added the new required
queryrequest parametertoken_id - breaking
removed the request body
- info
api operation id
deleteApiExternalV1DeleteApiTokenremoved and replaced withdeleterevokeAnAPIToken - info
api tag
Authenticationadded - info
api tag
Endpointsremoved - info
added the non-success response with the status
- info
added the success response with the status
- breaking