curl --request PATCH \
--url https://api.example.com/v1/avatars/{avatar_id} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"code": 100,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"space_id": "<string>",
"status": "INIT",
"preview_url": "<string>",
"is_expired": false,
"default_voice": {
"id": "<string>",
"name": "<string>"
}
},
"message": "<string>"
}Update avatar
curl --request PATCH \
--url https://api.example.com/v1/avatars/{avatar_id} \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"name": "<string>"
}
'{
"code": 100,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"error_message": "<string>",
"space_id": "<string>",
"status": "INIT",
"preview_url": "<string>",
"is_expired": false,
"default_voice": {
"id": "<string>",
"name": "<string>"
}
},
"message": "<string>"
}Was this page helpful?