Skip to content
Documentation/API reference
API · domains

Delete domain

DELETE /api/v2/domains/{id}

Authorization

Owner/admin user session (use inboxit login). Use the CLI login flow; a workspace API key cannot call this operation.

Parameters

All resource access is checked against the selected workspace and user permissions.

NameTypeContract
idpath · requiredResource UUID

Request

Run inboxit login first. The CLI supplies authenticated user credentials.

Example
inboxit domains delete --id RESOURCE_UUID

Response

HTTP 200. Example values are illustrative; excerpts are marked.

Example
{
  "removed": true
}

Behavior & errors

409 if any receiving address still uses the domain. Remove its receiving routes first. Domain deletion removes sending authorization. Common errors: 400 invalid input, 401 unauthenticated, 403 insufficient permission, 404 missing/inaccessible resource, 409 conflict, 429 rate/usage limit, 503 service unavailable. See Errors & retries for recovery guidance.