AGTCloud API Docs
GuidesAPI ReferenceIntegrations and resourcesUpdate and help
Account and usageAPI Key management

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.

POST/api/token/batch

Delete multiple Tokens. Verify every target ID; success data is the number deleted.

Authorization

userAccessToken
AuthorizationBearer <token>

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