API DocsAI Model APIsAudioFish AudioModel Management

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

NameTypeRequiredDescription
AuthorizationstringYesRequest authentication. Format: Bearer sk-xxxxxx

Path Parameters

NameTypeRequiredDescription
idstringYesModel 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:

NameTypeDescription
statusintegerError status code (on failure)
messagestringError message (on failure)
reasonstring | nullAdditional reason, may be null

Error Handling

HTTP 401 / 403 Auth Errors

  • 401 Unauthorized: API Key is invalid or expired
  • 403 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.

On this page