文档

ReleaseWorkspace - 释放工作空间

当用户工作空间不再需要持续保持,可释放工作空间(一旦删除,空间内的数据将不可恢复)。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

授权信息

当前API暂无授权信息透出。

请求语法

DELETE /api/workspaces/{workspaceId}/release

请求参数

名称类型必填描述示例值
workspaceIdstring

工作空间唯一标识

6ed82817-ab75-4563-865d-81e60dxxxxxx

返回参数

名称类型描述示例值
object

Schema of Response

requestIdstring

请求 ID

F7B85D1B-D1C2-140F-A039-341859F130B9
successboolean

请求是否成功

true
errorCodestring

错误码

Forbidden.AccessDenied
errorMessagestring

错误信息

The user is not authorized to perform the operation.

示例

正常返回示例

JSON格式

{
  "requestId": "F7B85D1B-D1C2-140F-A039-341859F130B9",
  "success": true,
  "errorCode": "Forbidden.AccessDenied",
  "errorMessage": "The user is not authorized to perform the operation."
}

错误码

HTTP status code错误码错误信息描述
403Forbidden.AccessDeniedThe user is not authorized to perform the operation.用户无权限执行相关操作
404InvalidWorkspace.NotFoundThe workspace is not found.工作空间不存在

访问错误中心查看更多错误码。

  • 本页导读 (0)
文档反馈