当用户工作空间不再需要持续保持,可释放工作空间(一旦删除,空间内的数据将不可恢复)。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求语法
DELETE /api/workspaces/{workspaceId}/release
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
workspaceId | string | 是 | 工作空间唯一标识 | 6ed82817-ab75-4563-865d-81e60dxxxxxx |
返回参数
示例
正常返回示例
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 | 错误码 | 错误信息 | 描述 |
---|---|---|---|
403 | Forbidden.AccessDenied | The user is not authorized to perform the operation. | 用户无权限执行相关操作 |
404 | InvalidWorkspace.NotFound | The workspace is not found. | 工作空间不存在 |
访问错误中心查看更多错误码。