Namespaces

Delete a namespace

Deletes an empty namespace. A namespace that still holds anything conflicts, and the error counts what remains: mailboxes, API keys, webhook endpoints filtered to it, domains, senders, contacts, or template projects. Delete each, or return it to organization level with DELETE /v1/namespaces/{id}/resources/{type}/{resourceId}; mailboxes, keys, and webhook endpoints cannot move and are deleted. Messages keep the namespace they ran in.

delete/v1/namespaces/{id}

Request

  • Base URL: https://api.samva.dev
  • URL: https://api.samva.dev/v1/namespaces/{id}
  • Auth: API key in header x-api-key

Path parameters

idstring required

Response

SuccessResponse

successboolean required

Changes

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