跳到导航

Update Voice Collection

Updates the title and icon of a voice collection. Fields that are omitted are left unchanged. Requires editor access to the collection.

路径参数

collection_idstring必需
Collection ID.

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
titlestring or null可选<=1000 characters

Title of the collection to create/update.

iconstring or null可选<=1000 characters

Icon of the collection to create/update.

响应

成功响应

collection_idstring
The ID of the voice collection.
titlestring
The title of the voice collection.
iconstring
The icon of the voice collection.
permission_on_resourceenum
The caller's access role on the voice collection.
允许的值:

错误

422
Unprocessable Entity Error