Delete Custom Model
Permanently delete a custom model and every phrase it contains. See the Custom Models guide for how models are used.
DELETE https://api.reson8.dev/v1/custom-model/{id}Request
Section titled “Request”Headers
Section titled “Headers”| Header | Value |
|---|---|
| Authorization | ApiKey <api_key> or Bearer <access_token> |
See Authentication for which header to use in different situations.
Path Parameters
Section titled “Path Parameters”| Parameter | Type | Description |
|---|---|---|
id |
string | ID of the custom model |
Example
Section titled “Example”curl -X DELETE "https://api.reson8.dev/v1/custom-model/a1b2c3d4-e5f6-7890-abcd-ef1234567890" \ -H "Authorization: ApiKey <your_api_key>"import requests
response = requests.delete( "https://api.reson8.dev/v1/custom-model/a1b2c3d4-e5f6-7890-abcd-ef1234567890", headers={"Authorization": "ApiKey <your_api_key>"},)
response.raise_for_status()Response
Section titled “Response”204 No Content
The response has no body.
Errors
Section titled “Errors”| Status | Description |
|---|---|
| 401 Unauthorized | Missing or invalid credentials |
| 404 Not Found | Custom model not found |
| 500 Internal Server Error | Unexpected server error |