HCP Tenant Management Help
Here is a sample GET request that retrieves the system-level group account information for the groupname Admins@dev.hcp.example.com. The request writes the group account information to a file named systemLevelGroup-Admins-dev-hcp-ex.xml. The request is made with a system-level user account that includes the monitor role.
Request with cURL command line
curl -k -i -H "Authorization: bGdyZWVu:35dc4c4aa08fe0deab7e292e00eb8e97"
"https://admin.hcp.example.com:9090/mapi/groupAccounts/
Admins@dev.hcp.example.com?verbose=true&prettyprint" >
systemLevelGroup-Admins-dev-hcp-ex.xml
Response body in XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<groupAccount>
<allowNamespaceManagement>false</allowNamespaceManagement>
<externalGroupID>S-1-2-34-123456789-1234567890-1234567890-
1234<externalGroupID>
<groupname>Admins@dev.hcp.example.com</groupname>
<roles>
<role>SEARCH</role>
<role>MONITOR</role>
<role>SERVICE</role>
<role>COMPLIANCE</role>
<roles>
</groupAccount>
Trademarks and Legal Disclaimer
© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.