Actions67
- ApiKeys Actions
- Auth Actions
- Billing Actions
- Chats Actions
- Identities Actions
- Members Actions
- Messages Actions
- Platform Logs Actions
- Platforms Actions
- Projects Actions
- Webhooks Actions
ApiKeys → Revoke
AI-generatedSummary
Revoke an API key for a project
Inputs
- project (required) — Project identifier to operate on
- keyId (required) — API key ID to revoke
Output shape
The MsgCore API returns standard response for DELETE /api/v1/projects/{project}/keys/{keyId}; typical result is 204 No Content or the revoked key object.
Per source, both project and keyId are path parameters; properties declare keyId with qs routing but source takes precedence for runtime behavior.
Examples
Example 1: Revoke a single API key
Set project to the target project identifier and keyId to the ID of the key to revoke. Optional requestOptions may be configured for batching, proxy, timeout, or SSL certificate bypass.