Delete model in organization
Deletes a model. Requests for it then fail. An organization's model that projects adopted fails with failed_precondition, and the reason MODEL_ADOPTED, unless force is set, which deletes their adoptions too.
DELETE
Deletes a model. Requests for it then fail.
An organization's model that projects adopted fails with failed_precondition, and the reason MODEL_ADOPTED, unless force is set, which deletes their adoptions too.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
organization*stringThe organization's ID.
Match
^org_[0-7][0-9a-hjkmnp-tv-z]{25}$model*stringThe model's ID.
Match
^mdl_[0-7][0-9a-hjkmnp-tv-z]{25}$force?booleanFor an organization's model: deletes it even when projects adopted it, and their adoptions too. Without it, deleting an adopted model fails with failed_precondition.
No Content
curl -X DELETE 'https://api.kosem.ai/v1/organizations/string/models/string'Example Response
Empty