List all resource groups.
GET {{baseUrl}}/resourceGroups?size=10&page=0&filter=<string>
List all resource groups of a tenant. Filter is supported on following fields- id, owner, displayName, groupName, members, createdBy and lastModifiedBy.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
size | number | Specifies the number of elements in a page. | |
page | number | Specifies the requested page index. | |
filter | string | Specifies the additional filtering criteria |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"resourceGroups":[{"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"]},{"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"]}],"page":{"size":10,"totalElements":1,"totalPages":1,"number":0}}