Skip to content
Documentation/API reference
API · testing

Delete a temporary inbox

DELETE /api/v2/testing/inboxes/{id}

Authorization

inboxes:create. Use a workspace-scoped bearer key or an authorized user session.

Parameters

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

NameTypeContract
idpath · requiredResource UUID

Request

Set INBOXIT_API_KEY in your server environment. The CLI can also use an authenticated user session.

Example
curl -X DELETE 'https://inboxit.wtf/api/v2/testing/inboxes/RESOURCE_UUID' \
  -H "Authorization: Bearer $INBOXIT_API_KEY"

CLI equivalent

Use INBOXIT_TOKEN for a scoped key, or inboxit login for a user session.

Example
inboxit testing delete --id RESOURCE_UUID

Response

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

Example
{
  "id": "INBOX_UUID",
  "deleted": true
}

Behavior & errors

Disables the temporary address, deletes its content and run records, and removes its credentials and replaces the native delivery route with a rejection marker. A cleanup failure is retried by the server timer. Permanent inboxes are rejected. 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.