Get user group security roles
GET {{baseUrl}}/api/usergroups/:id/securityRoles?projectId=Excepteur Lorem&fields=Excepteur Lorem
Get security roles for a specific user group in a specific project. 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. You identify the project by specifying the project ID in the request query; you obtain the project ID using GET /projects.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
projectId | string | Project ID | |
fields | string | Comma separated top-level field whitelist. This allows client to selectively retrieve part of the response model. If specified, extra filtering will be applied, and for top-level object (if root model is an array, each array element), only the listed fields will be kept in the response. e.g. "id,elements" means to keep only the "id" field and the whole "elements" array field, omitting all other fields of top-level response model. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
X-MSTR-AuthToken | string | (Required) Authorization token |
RESPONSES
status: OK
[{"name":"aute minim ullamco irure non","id":"in magna","securityRoles":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]},{"name":"ad","id":"dolore","securityRoles":[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]}]