资源转组
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ResourceId |
string |
是 |
资源 Id |
ld-bp17j28j2y7pm**** |
| ResourceRegionId |
string |
是 |
地域 Id |
cn-hangzhou |
| ResourceGroupId |
string |
是 |
目标资源组 |
rg-aek2i6wee**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
FAED4C02-AF99-5015-A075-692DE9C99630 |
| AccessDeniedDetail |
string |
访问被拒绝的详细原因。 |
{"AuthAction":"xxx","AuthPrincipalDisplayName":"222","AuthPrincipalOwnerId":"111","AuthPrincipalType":"SubUser",,"NoPermissionType":"ImplicitDeny","PolicyType":"AccountLevelIdentityBasedPolicy","EncodedDiagnosticMessage":"xxxxxx"} |
示例
正常返回示例
JSON格式
{
"RequestId": "FAED4C02-AF99-5015-A075-692DE9C99630",
"AccessDeniedDetail": "{\"AuthAction\":\"xxx\",\"AuthPrincipalDisplayName\":\"222\",\"AuthPrincipalOwnerId\":\"111\",\"AuthPrincipalType\":\"SubUser\",,\"NoPermissionType\":\"ImplicitDeny\",\"PolicyType\":\"AccountLevelIdentityBasedPolicy\",\"EncodedDiagnosticMessage\":\"xxxxxx\"}"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | NoPermission.ChangeResourceGroup | You are not authorized to change resourcegroup | |
| 400 | MissingParameter.ResourceRegionId | The ResourceRegionId parameters that are required for processing this request are missing | |
| 400 | MissingParameter.ResourceId | The ResourceId parameters that are required for processing this request are missing | |
| 400 | MissingParameter.ResourceGroupId | The ResourceGroupId parameters that are required for processing this request are missing | |
| 400 | InvalidResourceGroup | The specified ResourceGroupId is invalid | |
| 400 | SystemError | A system error occurred while processing your request | |
| 400 | ResourceNotFound | The specified resource is not found | |
| 403 | Lindorm.Errorcode.OperationDenied | You are not authorized to operate on the specified resource. | 操作失败,请先申请指定资源的操作权限。 |
| 403 | Lindorm.Errorcode.ServiceLinkedRoleNoPermission | No permission to create service linked role. | 操作失败,请先申请创建服务关联角色的权限。 |
| 403 | API.Forbidden | The API operation is forbidden in this environment. | 操作失败,当前环境中该API无法使用。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。