Class SettingsClient
- Namespace
- Auth0.ManagementApi.Tenants
- Assembly
- Auth0.ManagementApi.dll
public class SettingsClient : ISettingsClient
- Inheritance
-
SettingsClient
- Implements
- Inherited Members
- Extension Methods
Methods
GetAsync(GetTenantSettingsRequestParameters, RequestOptions?, CancellationToken)
Retrieve tenant settings. A list of fields to include or exclude may also be specified.
public WithRawResponseTask<GetTenantSettingsResponseContent> GetAsync(GetTenantSettingsRequestParameters request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestGetTenantSettingsRequestParametersoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Tenants.Settings.GetAsync(
new GetTenantSettingsRequestParameters { Fields = "fields", IncludeFields = true }
);
UpdateAsync(UpdateTenantSettingsRequestContent, RequestOptions?, CancellationToken)
Update settings for a tenant.
public WithRawResponseTask<UpdateTenantSettingsResponseContent> UpdateAsync(UpdateTenantSettingsRequestContent request, RequestOptions? options = null, CancellationToken cancellationToken = default)
Parameters
requestUpdateTenantSettingsRequestContentoptionsRequestOptionscancellationTokenCancellationToken
Returns
Examples
await client.Tenants.Settings.UpdateAsync(new UpdateTenantSettingsRequestContent());