Payezydevelopers
Sandbox

API reference / Organizations and teams

List roles

GET/v1/orgs/{orgId}/roles

Roles that apply to this organization type and the permissions each one grants.

Before you call it

  • Permissionmembers:view

Parameters

ParameterWhat it does
orgIdpath, uuidrequiredThe organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list.

Response 200

Roles assignable in this organization

FieldWhat it does
[].keystringrequiredNo description in the spec yet.
[].namestringrequiredNo description in the spec yet.
[].descriptionstringrequiredNo description in the spec yet.
[].applies_toenumrequiredNo description in the spec yet.

One of individual business platform any

[].permissionsstring[]requiredNo description in the spec yet.