Get parent user group info
GET {{baseUrl}}/api/usergroups/:id/memberships
Get information for the user group that is the direct parent of a specific user group. You obtain the authorization token needed to execute the request using POST /auth/login; you pass the authorization token in the request header. You identify the user group by specifying the usergroup ID in the path of the request; you obtain the usergroup ID using GET /usergroups.
Body
PARAM
Key | Datatype | Required | Description |
fields
|
null | Comma-separated, top-level field whitelist that allows the client to selectively retrieve part of the response model. If specified, extra filtering is applied, and for top-level object (if root model is an array, each array element), only the listed fields are kept in the response. For example, "id,elements" keeps only the "id" field and whole "elements" array field, omitting all other fields in the top-level response model. |
HEADERS
Key | Datatype | Required | Description |
X-MSTR-AuthToken
|
string | (Required) Authorization token |
RESPONSES
status OK
[
{
"name": "Test User Group",
"id": "8A464B0D08472260BED6518B64A02046",
"type": 34,
"abbreviation": "Test User Group",
"description": "Test user group.",
"subtype": 8705,
"dateCreated": "2022-04-25T11:07:49.000+0000",
"dateModified": "2022-04-25T11:08:23.000+0000",
"version": "48E2CE286341CB05BA495DB676FF4EFB",
"acg": 255,
"owner": {
"name": "MSTR User",
"id": "7FC05A65473CE2FD845CE6A1D3F13233"
},
"acl": [
{
"deny": false,
"type": 1,
"rights": 255,
"trusteeId": "7FC05A65473CE2FD845CE6A1D3F13233",
"trusteeName": "MSTR User",
"trusteeType": 34,
"trusteeSubtype": 8704,
"inheritable": false
},
{
"deny": false,
"type": 1,
"rights": 5,
"trusteeId": "294DEDC011D2F1D56000D98E67019608",
"trusteeName": "Public / Guest",
"trusteeType": 34,
"trusteeSubtype": 8705,
"inheritable": false
},
{
"deny": false,
"type": 1,
"rights": 5,
"trusteeId": "C82C6B1011D2894CC0009D9F29718E4F",
"trusteeName": "Everyone",
"trusteeType": 34,
"trusteeSubtype": 8705,
"inheritable": false
},
{
"deny": false,
"type": 1,
"rights": 13,
"trusteeId": "17CD5CDB43085A8A52533B86A05DCB3A",
"trusteeName": "User Administrators",
"trusteeType": 34,
"trusteeSubtype": 8705,
"inheritable": false
},
{
"deny": false,
"type": 1,
"rights": 13,
"trusteeId&quo Curl curl -X GET 'baseUrl/api/usergroups/:id/memberships?fields=' -H 'X-MSTR-AuthToken: authToken' ENDPOINTS |