All endpoints

Revoke a workspace master key

DELETEhttps://myagentmail.com/v1/workspaces/{id}/keys/{key_id}

Path parameters

id
required
string

Workspace UUID

key_id
required
string

Responses

200application/jsonRevoked
revoked
boolean
id
string

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.