Use the Documents resource to delete a user-defined machine learning model or a model deployment.
DELETE request
To delete an asset, include the asset ID in the URI. Use the following URI:
/frs/v1/Documents('<ID>')
Get the ID of a machine learning model from the response to register or edit a machine learning model. Get the ID of a model deployment from the response to create or monitor a model deployment.
Note: You can't delete a model deployment while it's running, and you can't delete a machine learning model if a running model deployment uses it. To delete a model deployment, stop the deployment before you send a request to delete it. To delete a machine learning model, stop all deployments that use the model before you send a request to delete the model.