DELETE /v1/apiCollections/{id}
Delete an API Collection
Delete an API collection by ID or name, with soft/hard delete options
DELETE
DELETE /v1/apiCollections/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Delete an API Collection
Delete an API collection by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
UUID of the API collection to delete.
Recursively delete child entities (API endpoints).
Permanently delete the API collection. If
false, the API collection is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/apiCollections/name/{fqn} to delete by fully qualified name.
Fully qualified name of the API collection (e.g.,
sample_api_service.pet).Recursively delete child entities (API endpoints).
Permanently delete the API collection.
Restore a Soft-Deleted API Collection
UsePUT /v1/apiCollections/restore to restore a soft-deleted API collection.
UUID of the soft-deleted API collection to restore.
DELETE /v1/apiCollections/{id}
Returns
Soft delete returns the API collection object withdeleted: true. Hard delete returns no content (204). Restore returns the restored API collection object.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this API collection |
404 | NOT_FOUND | API collection with given ID or FQN does not exist |