6d091bc86a33
Returns roles matching the given search criteria.
Only parameters that are specified in this request and have not <code>null</code> values are used for filtering. All other parameters are ignored. The returned roles satisfy all constraints that are specified in this search criteria. By default a result containing 1000 roles is returned.
Query parameters
The first result to retrieve. If not set (offset = <code>0</code>), results will be retrieved starting from row <code>0</code>.
The maximum number of results to retrieve. If not set (limit = <code>0</code>), the default limit will be used. The maximum allowed limit is 1000.
Allows to limit the number of elements that will be counted. -1 will count everything and 0 will cause the count to be skipped
The name of the role to search for.
The match mode used to compare <code>name</code>. The search is case-insensitive.
The description of the role to search for.
Whether global roles should be searched for.
The id of the owner of the roles. This can be a user or a group.
How to include inherited roles from groups in the search results. Allowable values are DIRECTLY, VIA_GROUPS, DIRECTLY_AND_VIA_GROUPS.
The sort field for the result.
The order of sorting.
Whether disabled roles should be searched for.
If set, search returns only resource roles having permissions belonging to a specific system. Supported values are 'knowledgegraph' and 'dataquality'. It must be used in combination with <code>type</code> = RESOURCE or <code>global</code> = false.
Indicates which type of roles should be searched for. Usage is mutually exclusive with the deprecated global flag.
Response
default response