Authorization Manager Merge Permissions
Reassigns all permissions of a role to another role.
Required privileges: Authorization.ReassignRolePermissions
The unique identifier for the managed object to which the method attaches; the serialized managed object reference for a request has the form moType/moId
, in this case AuthorizationManager/{moId}
.
The vSphere release schema. The current specification covers vSphere 8.0.3.0 APIs.
{
"srcRoleId": 0,
"dstRoleId": 0
}
The ID of the source role providing the permissions which are changing.
The ID of the destination role to which the permissions are reassigned.
No Content
NotFound: if either the source or destination role does not exist.
InvalidArgument: if dstRoleId is the View or Anonymous role or if both role IDs are the same.
AuthMinimumAdminPermission: if srcRoleId is the Administrator role, meaning that applying the change would leave the system with no Administrator permission on the root node.
NoPermission: if current session does not have any privilege in the source or destination role or "Authorization.ReassignRolePermissions" privilege on the root folder.
{
"_typeName": "string",
"faultCause": "MethodFault Object",
"faultMessage": [
{
"_typeName": "string",
"key": "string",
"arg": [
{
"_typeName": "string",
"key": "string",
"value": {
"_typeName": "string"
}
}
],
"message": "string"
}
]
}