Delete a domain by ID or name, with soft/hard delete options
false, the domain is soft-deleted and can be restored.DELETE /v1/domains/name/{fqn} to delete by fully qualified name.
TestDomain).PUT /v1/domains/restore to restore a soft-deleted domain.
deleted: true. Hard delete returns no content (204). Restore returns the restored domain object.
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this domain |
404 | NOT_FOUND | Domain with given ID or FQN does not exist |