tencent cloud

Smart Media Hosting

Delete Tenant Space

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-01-07 14:45:21

Description

Used to delete a tenant space.
Note:
Requires admin or delete_space permissions. For details about permissions, see Generate Access Token Interface.

Request

Request Example

DELETE /api/v1/space/`{LibraryId}`/`{SpaceId}`?access_token=`{AccessToken}`&user_id=`{UserId}`

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. See Create Tenant Space
String
You must specify this parameter and the single-tenant mode is not supported
AccessToken
Access token. See Generate Access Token
String
Yes
UserId
User identity recognition. When the permission corresponding to the access token is admin permission and the user identity recognition during the access token application is empty, it is used to temporarily designate user identity. For details, see Generate Access Token API
String
No

Request Body

This request has no request body.

Response

Response code

Successfully deleted, returns HTTP 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.

도움말 및 지원

문제 해결에 도움이 되었나요?

피드백