All endpoints

Delete a workspace

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

Cascades to all inboxes, domains, and scoped keys. Cannot delete the tenant's default workspace.

Path parameters

id
required
string

Workspace UUID

Responses

200application/jsonDeleted
deleted
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.