Audio modelsAPI referenceVoicesRename a voice asset

Rename a voice asset

Change the display name of a voice in your account. This endpoint accepts console login credentials only.

Authentication

Console login credentials: Authorization: Bearer <login credential>. API Keys are not accepted.

Credentials in the examples are placeholders. Replace them and run the examples on your server.

Code examples

curl -X PATCH 'https://shixux.com/api/voice-assets/asset_id_example' \  -H 'Authorization: Bearer login_credential_placeholder' \  -H 'Content-Type: application/json' \  -d '{"display_name":"example"}'
{  "id": "example",  "display_name": "example",  "original_filename": "example",  "size_bytes": 1,  "uploaded_at": "2026-10-06T10:00:00Z",  "retained_until": "2026-10-06T10:00:00Z"}

Path Parameters

asset_id*Asset Id

Request Body

application/json
  1. body
display_name*Display Name
Length1 <= length <= 80

Response Body

Request succeeded

application/json
  1. response
id*Id
display_name*Display Name
original_filename*string|null
size_bytes*|

Size of the voice file in bytes.

uploaded_at*Uploaded At
Formatdate-time
retained_until*|

When the asset or result file stops being retained. Request a new download URL after one expires.

permanent?boolean
source?string
Value in"uploaded""designed""preset"
preset_id?string

ID of the preset voice this voice comes from. Omitted for voices that do not come from a preset.

description?string
duration_seconds?number

On this page