Update a resource group.
PUT {{baseUrl}}/resourceGroups/:id
Update a resource group.
Request Body
{"displayName"=>"<string>", "description"=>"<string>", "members"=>["<string>", "<string>"]}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
If-Match | string | (Required) Last known version of the resource group to facilitate optimistic locking. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"owner":"tenantA","id":"ec2c337c9b0045f99e0a2bd90aefb82f","displayName":"Printers on first floor","groupName":"mdsp:core:resourceaccessmanagement:eu1:tenantA:resourceGroup:ec2c337c9b0045f99e0a2bd90aefb82f","createdAt":"2019-10-12T07:20:50.52Z","lastModifiedAt":"2019-10-12T07:20:50.52Z","createdBy":"mdsp:core:identitymanagement:eu1:tenantA:user:dummy@example.com","lastModifiedBy":"mdsp:core:identitymanagement:eu1:tenantA:user:dummy@example.com","eTag":1,"description":"This resource group contains all printers on first floor of building.","members":["mdsp:core:assetmanagement:eu1:tenantA:asset:dfb0d2961a224a259c44d8c3f76204fe","mdsp:core:assetmanagement:eu1:tenantA:asset:dfb0d2961a224a259c44d8c3f76204fe"]}