Delete an email workspace

Permanently deletes the email workspace.

The workspace cannot be deleted while a connected (alive) account is still linked to it — disconnect those accounts first, otherwise the request fails with 422. When no connected account remains, any remaining (disconnected) accounts are detached from the workspace before it is removed.

Path Parameters
  • id
    Type: integerFormat: int32
    required

    The ID of the workspace to delete.

Responses
  • 204

    The email workspace has been deleted

  • application/json
  • application/json
Request Example for delete/v1/email_workspaces/{id}
curl http://api.mailreach.co/api/v1/email_workspaces/42 \
  --request DELETE \
  --header 'X-Api-Key: YOUR_SECRET_TOKEN'
No Body