Update a Resource Group Membership

Updates a resource group membership, by ID.

Specify the resource group membership ID in the resourceGroupMembershipId URI parameter. Resource group memberships with a status of "pending" cannot be updated.

Include all details for the resource group membership. This action expects all details to be present in the request.

You're not logged in. to run the demo.

Request Headers

Content-type application/json; charset=utf-8

Request Parameters

Name Type Description
resourceGroupId string

The ID of the resource group to which this resource group membership belongs.

licenseId string

The license ID for the Hybrid Services licensed feature.

personId string

The ID of the person to which this resource group membership is associated.

personOrgId string

The orgId for the person.

status string

The activation status of the resource group membership.

Request Parameters

Name Type Your values
resourceGroupId string
licenseId string
personId string
personOrgId string
status string

Response Codes




The request was invalid or cannot be otherwise served. An accompanying error message will explain further.


Authentication credentials were missing or incorrect.


The request is understood, but it has been refused or access is not allowed.


The URI requested is invalid or the resource requested, such as a user, does not exist. Also returned when the requested format is not supported by the requested method.


The request could not be processed because it conflicts with some established rule of the system. For example, a person may not be added to a room more than once.


Too many requests have been sent in a given amount of time and the request has been rate limited. A Retry-After header should be present that specifies how many seconds you need to wait before a successful request can be made.


Something went wrong on the server.


Server is overloaded with requests. Try again later.