Skip to content

Home > @zero-dim/request > BaseApi > delete

BaseApi.delete() method

删除

Signature:

typescript
delete<T = any>(id: string, options?: RequestOptionsType): Promise<CommonResultType<T>>;

Parameters

Parameter

Type

Description

id

string

options

RequestOptionsType

(Optional)

**Returns:**

Promise<CommonResultType<T>>