Delete Srm Permissions
Removes a permission rule from a given Site Recovery Manager object.
The ID of a pairing between this Site Recovery Manager server and remote one.
ID of a Site Recovery Manager server.
Entity on which a permission is defined. If not provided, the permission is removed from the Site Recovery Manager server.
Spec describing the user or group for which the permission is defined.
Show optional properties
{
"principal": "string"
}
{
"principal": "string",
"isGroup": false,
"group": false
}
User or group receiving access in the form of "login".
isGroup
Whether principal refers to a user or a group. True for a group and false for a user.
The permission was successfully removed.
Bad request - the server cannot understand the request due to invalid syntax or invalid request body content
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Unauthorized - the client must authenticate itself to get the requested response
Forbidden - not sufficient access rights to fulfill the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
Not Found - server cannot find the requested in URL resource
Internal server error - unexpected condition prevents fulfilling the request
"ResponseError Object"
The code of the error.
The message of the error.
The ID of the operation.
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"principal:"string"}' https://{api_host}/pairings/{pairing_id}/srms/{srm_id}/permissions/actions/remove