Delete a workspace
DELETE
https://myagentmail.com/v1/workspaces/{id}For agents View as Markdown
Cascades to all inboxes, domains, and scoped keys. Cannot delete the tenant's default workspace.
Path parameters
idrequired string | Workspace UUID |
Responses
200application/jsonDeleted
deletedboolean | |
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.