Interface IRolesClient
- Namespace
- Auth0.ManagementApi.Organizations.Groups
- Assembly
- Auth0.ManagementApi.dll
public interface IRolesClient
- Extension Methods
Methods
CreateAsync(string, string, CreateOrganizationGroupRolesRequestContent, RequestOptions?, CancellationToken)
Assign one or more roles to a specified group in the context of an organization.
Task CreateAsync(string organizationId, string groupId, CreateOrganizationGroupRolesRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
organizationIdstringgroupIdstringrequestCreateOrganizationGroupRolesRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
DeleteAsync(string, string, DeleteOrganizationGroupRolesRequestContent, RequestOptions?, CancellationToken)
Unassign one or more roles from a specified group in the context of an organization.
Task DeleteAsync(string organizationId, string groupId, DeleteOrganizationGroupRolesRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
organizationIdstringgroupIdstringrequestDeleteOrganizationGroupRolesRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
ListAsync(string, string, ListOrganizationGroupRolesRequestParameters, RequestOptions?, CancellationToken)
Lists the roles assigned to the specified group in the context of an organization.
Task<Pager<Role>> ListAsync(string organizationId, string groupId, ListOrganizationGroupRolesRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
organizationIdstringgroupIdstringrequestListOrganizationGroupRolesRequestParametersoptionsRequestOptionscancellationTokenCancellationToken