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