Back to Node Auth0

Class BotDetectionClient

docs/classes/management.SDK.BotDetectionClient.html

5.9.14.0 KB
Original Source

Class BotDetectionClient

Index

Constructors

constructor

Methods

getupdate

Properties

_options

Constructors

constructor

new BotDetectionClient(options: BaseClientOptions): BotDetectionClient

Parameters

Returns BotDetectionClient

Methods

get

get(
requestOptions?: BotDetectionClient.RequestOptions,
): HttpResponsePromise<GetBotDetectionSettingsResponseContent>

Get the Bot Detection configuration of your tenant.

Parameters

Request-specific configuration.

Returns HttpResponsePromise<GetBotDetectionSettingsResponseContent>

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.attackProtection.botDetection.get()Copy

update

update(
request?: UpdateBotDetectionSettingsRequestContent,
requestOptions?: BotDetectionClient.RequestOptions,
): HttpResponsePromise<UpdateBotDetectionSettingsResponseContent>

Update the Bot Detection configuration of your tenant.

Parameters

Request-specific configuration.

Returns HttpResponsePromise<UpdateBotDetectionSettingsResponseContent>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.NotFoundError

Throws

Management.TooManyRequestsError

Example

await client.attackProtection.botDetection.update()Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods getupdate Properties _options