Behavior
Deletes the inbox and returns 204 with no body. The conversations it showed are not affected and stay on their lines.
Pass the user_id query parameter to delete a teammate's inbox. Only admins and managers of the teammate's workspace can do that. An inbox with no source in a workspace the caller manages returns 404. An inbox that also holds lines from another workspace returns 403: only the teammate can delete it.
Errors
| Status | Code | When |
|---|---|---|
403 | FORBIDDEN | user_id is set and the caller is not an admin or manager of that teammate's workspace, or the inbox also holds lines from another workspace |
404 | INBOX_NOT_FOUND | No inbox with this ID belongs to the inbox owner, or, with user_id, it has no source in a workspace the caller manages |