Back to Node Auth0

Class AuthenticatorsClient

docs/classes/management.SDK.AuthenticatorsClient.html

5.9.12.4 KB
Original Source

Class AuthenticatorsClient

Index

Constructors

constructor

Methods

deleteAll

Properties

_options

Constructors

constructor

new AuthenticatorsClient(options: BaseClientOptions): AuthenticatorsClient

Parameters

Returns AuthenticatorsClient

Methods

deleteAll

deleteAll(
id: string,
requestOptions?: AuthenticatorsClient.RequestOptions,
): HttpResponsePromise<void>

Remove all authenticators registered to a given user ID, such as OTP, email, phone, and push-notification. This action cannot be undone. For more information, review Manage Authentication Methods with Management API.

Parameters

  • id: string

ID of the user to delete.

Request-specific configuration.

Returns HttpResponsePromise<void>

Throws

Management.BadRequestError

Throws

Management.UnauthorizedError

Throws

Management.ForbiddenError

Throws

Management.TooManyRequestsError

Example

await client.users.authenticators.deleteAll("id")Copy

Properties

Protected Readonly_options

_options: NormalizedClientOptionsWithAuth<BaseClientOptions>

Settings

Member Visibility

  • Protected
  • Inherited

ThemeOSLightDark

On This Page

Constructors constructor Methods deleteAll Properties _options