Skip to main content
Get a list of roles with optional filtering. Required Scope: Manage All, Read All, or Read Users.
External DocumentationTo learn more, visit the OneLogin documentation.

Parameters

ParameterDescription
App IDThe ID of the app to filter by.
App NameThe name of the app to filter by.
FieldsThe fields to return in the result.
PageThe page number to get results from. The value must be greater than 0.
Per PageThe maximum number of items to return per page. Valid range is 1-650.
Return All PagesAutomatically fetch all resources, page by page.
Role NameThe name of the role to filter by.

Example Output

[
	{
		"id": 123,
		"name": "Sample Role",
		"apps": [
			123,
			456
		]
	}
]

Workflow Library Example

List Roles with Onelogin and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop