Skip to main content

Update Real-Person Asset

PUT /api/volc-user/assets

Update the current user's real-person asset name and remark. Asset content and group membership remain unchanged.

Authentication

Use a logged-in session Cookie or the Authorization: <access_token> header. Obtain the access token through Generate Access Token. It is different from the sk- key used for model requests.

Request Parameters​

NameTypeRequiredDescription
idstringRequiredPlatform asset ID
namestringOptionalNew name; an empty string does not update it
remarkstringOptionalNew platform remark; an empty string does not update it

Request Example​

PUT /api/volc-user/assets
Authorization: <access_token>
Content-Type: application/json

{
"id": "asset-example",
"name": "Updated Name",
"remark": "Updated Description"
}

Response Fields (200)​

NameTypeDescription
successbooleanBusiness success flag; check it even for HTTP 200
messagestringMessage; empty on success
dataobjectResponse data on success
data.idstringPlatform resource ID for this operation

Response Example​

{
"success": true,
"message": "",
"data": {
"id": "asset-example"
}
}