Batch delete API Keys
Batch delete API Keys — 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.
/api/token/batchDelete multiple Tokens. Verify every target ID; success data is the number deleted.
Authorization
userAccessToken Create an access token under Profile → Security. Use Bearer authentication, not a model API Key.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json