tencent cloud

Smart Media Hosting

Cancel Designated Space Favorite

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-01-07 14:52:08

Description

Unfavorite.

Request

Request Example

POST /api/v1/favorite/{LibraryId}/{SpaceId}?cancel&access_token={AccessToken}

Request Parameter

Request parameters.
Description
Type
Required or Not
LibraryId
Media Library ID, obtained after creating a media library in the media hosting console, see create media library
String
Yes
SpaceId
Space ID. If the media library is in single-tenant mode, this parameter is fixed as a hyphen (-); if the media library is in multi-tenant mode, you must specify this parameter.
String
Yes
AccessToken
Access token, see Generate access token
String
Yes

Request Body

application/json
Request body example
{
"path": "A/B"
}
or
{
"inode": "xxxx"
}
Request body field description:
Request parameters.
Description
Type
Required or Not
inode
File directory ID
String
No
path
File directory path. When unfavoriting according to the path, choose either the path or inode parameter. If both inode and path are specified, inode takes precedence.
String
No

Response

Response code

Unfavorite successfully, return 204 No Content.

Response Body

This request has no response body.

Error Codes

This request operation has no special error messages. For common error messages, see Error Codes.

Ajuda e Suporte

Esta página foi útil?

comentários