Reference/api-keys

Suspend Api Key

Suspend Api Key Dashboard access token (JWT); API keys are not accepted. Request examples use snake_case; schemas may also display accepted camelCase aliases. Replace resource placeholders with accessible IDs. See the guides for runtime model constraints and workflows.

POST/v1/api-keys/{key_id}/suspend
Open playground
Dashboard access token (JWT); API keys are not accepted. See authentication.

Authorizations

Dashboard access token (JWT); API keys are not accepted.

Path Parameters

key_idstringrequired

Body (application/json)

reasonstringoptional

Response

200 - application/json
Successful Response
No detailed response model is declared for this operation. See its guide for response fields and lifecycle behavior.
Request Example
curl --fail-with-body -X POST "https://api.apimarketplace.com/v1/api-keys/KEY_ID/suspend" -H "Authorization: Bearer $ACCESS_TOKEN" -H 'Content-Type: application/json' --data '{}'