Back to Node Auth0

Class SettingsClient

docs/classes/management.SDK.SettingsClient-1.html

5.9.14.3 KB
Original Source

Class SettingsClient

Index

Accessors

newDevice

Constructors

constructor

Methods

getupdate

Properties

_options_newDevice

Accessors

newDevice

get newDevice(): NewDeviceClient

Returns NewDeviceClient

Constructors

constructor

new SettingsClient(options: BaseClientOptions): SettingsClient

Parameters

Returns SettingsClient

Methods

get

get(
requestOptions?: SettingsClient.RequestOptions,
): HttpResponsePromise<GetRiskAssessmentsSettingsResponseContent>

Gets the tenant settings for risk assessments

Parameters

Request-specific configuration.

Returns HttpResponsePromise<GetRiskAssessmentsSettingsResponseContent>

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.riskAssessments.settings.get()Copy

update

update(
request: UpdateRiskAssessmentsSettingsRequestContent,
requestOptions?: SettingsClient.RequestOptions,
): HttpResponsePromise<UpdateRiskAssessmentsSettingsResponseContent>

Updates the tenant settings for risk assessments

Parameters

Request-specific configuration.

Returns HttpResponsePromise<UpdateRiskAssessmentsSettingsResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.riskAssessments.settings.update({ enabled: true })Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Protected_newDevice

_newDevice: NewDeviceClient | undefined

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Accessors newDevice Constructors constructor Methods getupdate Properties _options_newDevice