Create a new CustomRoles instance.
Function for making API requests
Create a new custom role.
Parameters for the custom role to create
Promise with the created custom role
Delete a custom role. The role must not be currently assigned to any users.
The custom role ID to delete
The organization ID the custom role belongs to
Promise with the ID of the deleted custom role
Update an existing custom role.
The custom role ID to update
The organization ID the custom role belongs to, and the fields to update
Promise with the updated custom role
Class providing methods for working with Make custom roles. Requires the organization's
customRoleslicense feature to be enabled.