Delete a model inventory by ID
Changed onDeletes a model inventory record and its project/framework associations. Optionally deletes linked model risks when deleteRisks=true. Records deletion in change history and fires "model_deleted" automations.
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/modelInventory/{id}
- AuthHTTP bearer
Path parameters
Model inventory ID
Query parameters
When "true", also deletes associated rows from the model_risks table.
Response
Model inventory deleted
Example response
{
"message": "OK",
"data": "Model inventory deleted successfully"
}Changes
- info
added the new optional
queryrequest parameterdeleteRisks - info
added the media type
application/jsonfor the response with the status - info
added the media type
application/jsonfor the response with the status - info
added the non-success response with the status
- info
- breaking
removed the media type
application/jsonfor the response with the status - info
api operation id
deleteModelInventoryByIdwas added - info
the endpoint scheme security
bearerAuthwas added to the API - info
the endpoint scheme security
JWTAuthwas removed from the API - info
added the non-success response with the status
- info
added the non-success response with the status
- info
removed the non-success response with the status
- breaking