Delete API Key
Delete API Key — Authenticate with an access token
Use an access token generated on the profile page, not the model API Key being managed. See Programmatic API Key management for credentials and the full workflow.
Confirm targets before deletion
Verify the target Token IDs and applications using these Keys. Do not treat example IDs as real targets; enter IDs and send the request in Try It only after deciding to delete them.
DELETE
/api/token/{id}Delete the specified Token. Verify its ID and dependent applications before sending the request.
Authorization
userAccessToken AuthorizationBearer <token>
Create an access token under Profile → Security. Use Bearer authentication, not a model API Key.
In: header
Path Parameters
id*integer
Token ID supplied in the URL path.
Response Body
application/json
application/json