文档

DisassociateResourceSharePermission - 为共享单元解除共享权限

更新时间:

调用DisassociateResourceSharePermission为共享单元解除共享权限。当共享单元下权限对应的资源类型没有关联具体资源时,才允许从共享单元中删除权限。

接口说明

本文将提供一个示例,在cn-hangzhou地域的共享单元rs-6GRmdD3X****中,解除共享权限AliyunRSDefaultPermissionVSwitch

调试

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

授权信息

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

请求参数

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

共享单元 ID。

rs-6GRmdD3X****
PermissionNamestring

共享权限名称。在权限库文档中查看。

AliyunRSDefaultPermissionVSwitch

返回参数

名称类型描述示例值
object

返回结果。

RequestIdstring

请求 ID。

111FB84A-60A9-403E-9067-E55D7EE95BD1

示例

正常返回示例

JSON格式

{
  "RequestId": "111FB84A-60A9-403E-9067-E55D7EE95BD1"
}

错误码

HTTP status code错误码错误信息描述
400InvalidParameter.ResourceShareIdThe ResourceShareId is invalid.ResourceShareId参数错误。
400MissingParameter.ResourceShareIdYou must specify ResourceShareId.ResourceShareId参数缺失。
400MissingParameter.PermissionNameYou must specify PermissionName.PermissionName参数缺失。
404EntityNotExists.PermissionThe resource share permission does not exist.共享权限不存在。
409DisassociateConflict.PermissionExisting associated resource when disassociating permission with resource share.-

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

变更历史

变更时间变更内容概要操作
2023-05-18OpenAPI 错误码发生变更看变更集
变更项变更内容
错误码OpenAPI 错误码发生变更
    删除错误码:400
    删除错误码:404
    删除错误码:409
  • 本页导读 (1)
文档反馈