Skip to main content
Get a list of administrators assigned to a role by its ID. Required Scope: Manage All, Read All, or Read Users.
External DocumentationTo learn more, visit the OneLogin documentation.

Parameters

ParameterDescription
Include UnassignedSelect to include admins that are not currently assigned to the role.
NameThe name to filter by. Applies to first name, last name, username, and email fields.
PageThe page number to get results from. The value must be greater than 0.
Per PageThe maximum number of results to return per page.
Return All PagesAutomatically fetch all resources, page by page.
Role IDThe ID of the role.

Example Output

[
	{
		"id": 345,
		"name": "Joe Smith",
		"username": "[email protected]",
		"added_by": {
			"id": 678,
			"name": "Josephina Manager"
		},
		"added_at": "2019-12-27T00:00:00Z",
		"assigned": true
	}
]

Workflow Library Example

Get Role Admins with Onelogin and Send Results Via Email
Workflow LibraryPreview this Workflow on desktop