Workspaces

Remove a sub-account. With inboxes and without delete_inboxes=true, the call is 409 workspace_not_empty and deletes nothing. delete_inboxes=true deletes direct inboxes (messages, attachments, owners, and tasks), then the workspace API keys, OAuth tokens, webhooks, domains, and the child account. An approval inbox returns HTTP 409 owner_required and deletes nothing until its owner confirms. The child key then returns 401. Parent plan usage no longer counts that sub-account. Another parent's workspace is 404 workspace_not_found. A sub-account key is 403 permission_denied.

delete/api/v1/workspaces/{id}

Request

  • Base URL: https://cooperemail.com
  • URL: https://cooperemail.com/api/v1/workspaces/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Query parameters

delete_inboxesboolean

true deletes the workspace inboxes. Required when any inbox remains.

Response

The workspace was deleted

object'workspace'
idstring required
deletedunknown required
inboxes_deletedinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.