Delete Model
Delete an existing voice model by model ID.
Delete an existing voice model by ID. Deletion is irreversible; the corresponding _id can no longer be used as reference_id on the Text to Speech endpoint.
Synchronous endpoint: deletion happens immediately after submit. Only the model owner can delete.
Base URL
https://api.autorouter.top— Production
Authentication
BearerAuth: http (bearer)
Authenticate using a Bearer Token.
Format: Authorization: Bearer sk-xxxxxx
Endpoints
DELETE /fishaudio/model/{id}
Delete a voice model
Delete the model using the _id returned at creation.
Headers
| Name | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Request authentication. Format: Bearer sk-xxxxxx |
Path Parameters
| Name | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Model ID |
Responses
200: Deleted successfully
Content-Type: application/json
401: Unauthorized
Content-Type: application/json
503: Service overloaded
Content-Type: application/json
Request Example
curl -X DELETE "https://api.autorouter.top/fishaudio/model/{id}" \
-H "Authorization: Bearer sk-xxxxxx"Response Example
{}Response fields:
The response body may be empty on success. On failure an error object is returned:
| Name | Type | Description |
|---|---|---|
status | integer | Error status code (on failure) |
message | string | Error message (on failure) |
reason | string | null | Additional reason, may be null |
Error Handling
HTTP 401 / 403 Auth Errors
401 Unauthorized: API Key is invalid or expired403 Forbidden: API Key cannot access this model (check the token model allowlist)
HTTP 402 Insufficient Balance
Returns insufficient user quota. Top up in the AutoRouter console.
HTTP 503 Service Overloaded
The server is too busy to process the request. Please retry later.