Sophos Central icon

Sophos Central

Interact with Sophos Central Firewall Management API

Partner → Get Many Roles

AI-generated

Summary

Retrieves available roles and permissions from the Sophos Central Partner API, returning each role as a separate n8n item. Choose whether to fetch all roles or cap the results with a limit; Partner API credentials are required.

Inputs

  • returnAll — When enabled, fetches roles across all API pages. Defaults to false.
  • limit — Maximum number of roles to return when Return All is disabled. Defaults to 50; UI range is 1–1000.

Output shape

A list of items, one per role; each item contains a role object from the API.

Requires Partner API credentials. With Return All disabled, the node requests only the first page using the selected limit. With Return All enabled, it fetches pages of 100 until all pages are retrieved. API errors fail the operation unless Continue On Fail is enabled, in which case an error item is returned.

Links

Discussion