DELETE /v1/apiEndpoints/{id}
Delete an API Endpoint
Delete an API endpoint by ID or name, with soft/hard delete options
DELETE
DELETE /v1/apiEndpoints/{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 Endpoint
Delete an API endpoint by ID or fully qualified name. Supports soft delete (default), hard delete, and restore operations.Delete by ID
UUID of the API endpoint to delete.
Recursively delete child entities.
Permanently delete the API endpoint. If
false, the API endpoint is soft-deleted and can be restored.Delete by Name
UseDELETE /v1/apiEndpoints/name/{fqn} to delete by fully qualified name.
Fully qualified name of the API endpoint (e.g.,
sample_api_service.pet.addPet).Recursively delete child entities.
Permanently delete the API endpoint.
Restore a Soft-Deleted API Endpoint
UsePUT /v1/apiEndpoints/restore to restore a soft-deleted API endpoint.
UUID of the soft-deleted API endpoint to restore.
DELETE /v1/apiEndpoints/{id}
Returns
Soft delete returns the API endpoint object withdeleted: true. Hard delete returns no content (204). Restore returns the restored API endpoint object.
Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to delete this API endpoint |
404 | NOT_FOUND | API endpoint with given ID or FQN does not exist |