Deleting a Model

You can always delete a model if you don't need it anymore, or you've mistaken something while creating the model. When you delete a model all of its training data also gets deleted. Deleting is done by using /v1/models/{id} endpoint.

delete
v1/models/{id}

https://api.kimola.com/cognitive/v1/models/{id}
Deletes the specified model.
Request
Response
Path Parameters
id
required
integer
Model id.
Headers
Authorization
optional
string
Your API key.
200: OK
Model is succesfully deleted.
400: Bad Request
There is no API key in the request header.
401: Unauthorized
There is an API key in the request header, but invalid.
403: Forbidden
API key does not have access to the data model.

In Python:

requests.delete('https://api.kimola.com/cognitive/v1/models/{id}'.format(model_id_here))