API Reference
Rockets Core API
ts-common
interfaces
OtpDeleteInterface

Interface: OtpDeleteInterface<O>

Type Parameters

Type ParameterDefault type
O extends ReferenceQueryOptionsInterfaceReferenceQueryOptionsInterface

Methods

delete()

delete(assignment, otp, options?): Promise<void>

Delete a otp based on params

Parameters

ParameterTypeDescription
assignmentstringThe otp assignment
otpPick<OtpInterface, "assignee" | "category" | "passcode">The otp to delete
options?O-

Returns

Promise<void>

Defined in

ts-common/src/otp/interfaces/otp-delete.interface.ts:16 (opens in a new tab)