SearchGroupsByRolesRequest

SearchGroupsByRolesRequest
SearchGroupsByRolesRequest

Search groups by roles and/or resource

JSON Example
{
    "searchType": "string",
    "pageLimit": 0,
    "rolesSearchTerm": {
        "serviceRoles": [
            {
                "serviceRoles": [
                    {
                        "roleName": "string"
                    }
                ],
                "serviceDefinitionId": "string"
            }
        ],
        "orgRoles": [
            {
                "roleName": "string"
            }
        ],
        "customRoles": [
            {
                "roleName": "string"
            }
        ]
    },
    "pageStart": 0,
    "groupSearchTerm": "string",
    "resourceStartsWith": "string",
    "resource": "string"
}
string
searchType
Optional

Defines the searching capability of the "resource" field value.

Possible values are : EXACT_MATCH, CONTAINS, STARTS_WITH, ENDS_WITH,
integer As int32 As int32
pageLimit
Optional
Constraints: maximum: 200

Maximum number to return in response. Default value is 200.

rolesSearchTerm
Optional

Defines the roles properties which are used for search.

integer As int32 As int32
pageStart
Optional
Constraints: minimum: 1

Start index for querying. Default value is 1.

string
groupSearchTerm
Optional
Constraints: minLength: 0 maxLength: 180

The string to be searched within group's display name.Max search length is 180 characters.

string
resourceStartsWith
Optional
Constraints: minLength: 0 maxLength: 200

Resource to search for resource-scoped role assignments starting with given term. This field is deprecated. Consider using "resource" along with "searchType".

string
resource
Optional
Constraints: minLength: 0 maxLength: 200

Resource to search for resource-scoped role assignments.