Delete Custom Model
Permanently delete a custom model and every phrase it contains.
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> |
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 | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED |
Invalid or expired credentials |
| 404 | NOT_FOUND |
Custom model not found |
| 500 | INTERNAL_ERROR |
Unexpected server error |