Access control endpoints allow you to review and manage user role assignments. Organization and environment roles are assigned separately. Furthermore, a user’s organizational role doesn't impact their assigned environment role, and vice versa. Learn about roles.
Generally, organization owners or admins can retrieve, assign, update, or remove role assignments. However, only organization owners can assign or remove organization roles specifically.
Get organization role assignments
Retrieve a list of organization roles and related user assignments within the organization indicated in the request.
You must be an organization owner or admin to view role assignments.
cURL request example
Path Parameters
- organizationIdrequired, string
Identifies the Redox organization that you're operating in or on behalf of.
- metaobject
- versionstring
Lists the major and minor version number for the format of the returned payload. The payload format or shape may change between minor versions, like including additional or extended fields in later versions. We include the version data in each response so that you have the option to handle the signaled differences.
- payloadobject
Contains the payload with details about the requested organization role assignments.
- membershipsArray of object
Contains an array of role assignment for an organization.
- organizationobject
- idstring
Identifies the specific organization that you're operating in or on behalf of.
- namestring
Displays the human readable name of the Redox organization.
- roleobject
- idstring
Displays the unique identifier of the role.
- namestring
Displays the name of the role.
- userobject
- idstring
Displays the unique identifier of the user.
- fullnamestring
Displays the full name of the user.
- lowercaseEmailstring
Displays the email of the user in lowecase format.
- lastLoginstring
Displays a timestamp of when the user last logged in.
- verified2faboolean
Displays whether the user has verified a two-factor authentication method.