Revoke a workspace master key
DELETE
https://myagentmail.com/v1/workspaces/{id}/keys/{key_id}For agents View as Markdown
Path parameters
idrequired string | Workspace UUID |
key_idrequired string |
Responses
200application/jsonRevoked
revokedboolean | |
idstring | format: uuid |
Authentication
Send your API key in the X-API-Key header (or Authorization: Bearer <key>). Any prefix accepted by this endpoint — tk_, wk_, ak_, or sa_ — is documented in the key prefix table.