v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13217260568.5 KB
userRoles

Retrieves a list of user roles, possibly filtered. This method supports paging.

get/userprofiles/{+profileId}/userRoles

Path parameters

profileIdstring required

User profile ID associated with this request.

Query parameters

accountUserRoleOnlyboolean

Select only account level user roles not associated with any specific subaccount.

idsstring[]

Select only user roles with the specified IDs.

maxResultsinteger

Maximum number of results to return.

pageTokenstring

Value of the nextPageToken from the previous result page.

searchStringstring

Allows searching for objects by name or ID. Wildcards () are allowed. For example, "userrole2015" will return objects with names like "userrole June 2015", "userrole April 2015", or simply "userrole 2015". Most of the searches also add wildcards implicitly at the start and the end of the search string. For example, a search string of "userrole" will match objects with name "my userrole", "userrole 2015", or simply "userrole".

sortField'ID' | 'NAME'

Field by which to sort the list.

sortOrder'ASCENDING' | 'DESCENDING'

Order of sorted results.

subaccountIdstring

Select only user roles that belong to this subaccount.

Response

Successful response