API Keys
Revoke a key
Revokes the key. Its token stops working immediately and is deleted; requests that use it get 403 api_key_revoked. The key stays listable with status=revoked, along with its history. Revoking a revoked key succeeds and changes nothing. If the key belongs to a Shopify, BigCommerce or WordPress Connect integration, the response includes integration_warning: that integration stops working until it reconnects.
post/api_keys/{id}/revocation
Request
- Base URL: https://alttext.ai/api/v1
- URL: https://alttext.ai/api/v1/api_keys/{id}/revocation
- Auth: API key in header X-API-Key
Path parameters
idinteger required
The ID of the key.
Response
The revoked key.
Changes
No recorded changes to this operation across all 1 revision of this API.