docs/classes/management.SDK.RolesClient-1.html
new RolesClient(options: BaseClientOptions): RolesClient
list(
organization_id: string,
group_id: string,
request?: ListOrganizationGroupRolesRequestParameters,
requestOptions?: RolesClient.RequestOptions,
): Promise<Page<Role, ListOrganizationGroupRolesResponseContent>>
Lists the roles assigned to the specified group in the context of an organization.
ID of the organization
ID of the group
OptionalrequestOptions: RolesClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.organizations.groups.roles.list("organization_id", "group_id", { from: "from", take: 1 })Copy
create(
organization_id: string,
group_id: string,
request: CreateOrganizationGroupRolesRequestContent,
requestOptions?: RolesClient.RequestOptions,
): HttpResponsePromise<void>
Assign one or more roles to a specified group in the context of an organization.
ID of the organization
ID of the group
OptionalrequestOptions: RolesClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.organizations.groups.roles.create("organization_id", "group_id", { roles: ["roles"] })Copy
delete(
organization_id: string,
group_id: string,
request: DeleteOrganizationGroupRolesRequestContent,
requestOptions?: RolesClient.RequestOptions,
): HttpResponsePromise<void>
Unassign one or more roles from a specified group in the context of an organization.
ID of the organization
ID of the group
OptionalrequestOptions: RolesClient.RequestOptionsRequest-specific configuration.
Management.TooManyRequestsError
await client.organizations.groups.roles.delete("organization_id", "group_id", { roles: ["roles"] })Copy
Protected Readonly_options_options: NormalizedClientOptionsWithAuth<BaseClientOptions>
Member Visibility
ThemeOSLightDark
Constructors constructor Methods listcreatedelete Properties _options