Table of Contents

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

organizationId string
groupId string
request CreateOrganizationGroupRolesRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

Task

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

organizationId string
groupId string
request DeleteOrganizationGroupRolesRequestContent
options RequestOptions
cancellationToken CancellationToken

Returns

Task

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

organizationId string
groupId string
request ListOrganizationGroupRolesRequestParameters
options RequestOptions
cancellationToken CancellationToken

Returns

Task<Pager<Role>>