Docs Digital Human · Asset Groups /v1/private-avatar/assets/{id}
API reference

⑨ Update materials

Update asset metadata such as display name.

PATCH/v1/private-avatar/assets/{id}

Body Parametersapplication/json

Id* string

Same as path id

Name string

Name

model* string

Routing parameters (fixed to pass this value)

Responses

200 Update successful application/json
response-200 object
properties
ResponseMetadata object

Response metadata (Action / Version / RequestId, etc.)

Result object

Business result object

400 Bad request or validation failed application/json
response-400 object
properties
error* object
401 Missing or invalid API Key application/json
response-401 object
Request Body Example
1{
2"Id": "string",
3"model": "doubao-seedance-2-0-260128"
4}
Code Sample cURL
1curl -X PATCH "https://api.digislash.com/v1/private-avatar/assets/{id}" \
2-H "Authorization: Bearer <API Key>" \
3-H "Content-Type: application/json" \
4-d '{
5"Id": "string",
6"model": "doubao-seedance-2-0-260128"
7}'
Response
1▼{
2▼"ResponseMetadata": {
3"Action": "string",
4▶"Error": { 2 keys },
5"Region": "string",
6"RequestId": "string",
7"Service": "string",
8"Version": "string"
9},
10"Result": {}
11}