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

KeyDatatypeRequiredDescription
projectIdstringProject ID
fieldsstringComma 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

KeyDatatypeRequiredDescription
X-MSTR-AuthTokenstring(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"}]}]