curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.edi.stateset.com/v1/tenants/{id}/api-keys/{key_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Revokes (deletes) a tenant API key. The key stops authenticating immediately…
Key revoked
DELETE
/
v1
/
tenants
/
{id}
/
api-keys
/
{key_id}
curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.edi.stateset.com/v1/tenants/{id}/api-keys/{key_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Path parameters
string
required
Tenant ID
string
required
Key ID
Response
No response body. Key revoked.Status codes
| Code | Meaning |
|---|---|
200 | Key revoked |
404 | Unknown key |
Using this contract
Read the source OpenAPI document for declared schemas and alternatives. This page also includes documented corrections from the spec overlays. Example IDs and values are illustrative; replace them with records from your workspace.curl --silent --show-error --fail-with-body --request DELETE \
--url 'https://api.edi.stateset.com/v1/tenants/{id}/api-keys/{key_id}' \
--header "Authorization: Bearer $EDI_API_TOKEN"
Last modified on October 20, 2026