Skip to main content

Interface: DeleteRequestOptions

Defined in: service-core/src/routes/ModelRoute.ts:44

The set of options required by delete request handlers.

Extends​

Extended by​

Properties​

ignoreACL?​

optional ignoreACL?: boolean

Defined in: service-core/src/models/RepoUtils.ts:84

Set to true to ignore the ACL permissions check.

Inherited from​

RequestOptions.ignoreACL


purge?​

optional purge?: boolean

Defined in: service-core/src/routes/ModelRoute.ts:46

Set to true to permanently remove the object from the database (if applicable).


pushChannels?​

optional pushChannels?: string[]

Defined in: service-core/src/routes/ModelRoute.ts:48

An additional list of channel names to send push notifications to.

Overrides​

RequestOptions.pushChannels


recordEvent?​

optional recordEvent?: boolean

Defined in: service-core/src/models/RepoUtils.ts:88

Indicates if a telemetry event should be broadcast for the request.

Inherited from​

RequestOptions.recordEvent


req?​

optional req?: HttpRequest

Defined in: service-core/src/routes/ModelRoute.ts:25

The originating client request.

Inherited from​

RequestOptions.req


res?​

optional res?: HttpResponse

Defined in: service-core/src/routes/ModelRoute.ts:27

The outgoing client response.

Inherited from​

RequestOptions.res


skipPush?​

optional skipPush?: boolean

Defined in: service-core/src/routes/ModelRoute.ts:50

Set to true to not send a push notification.

Overrides​

RequestOptions.skipPush


transaction?​

optional transaction?: TransactionInfo

Defined in: service-core/src/models/RepoUtils.ts:92

The transactional session to execute the operation within.

Inherited from​

RequestOptions.transaction


user?​

optional user?: JWTUser

Defined in: service-core/src/models/RepoUtils.ts:94

The authenticated user making the request.

Inherited from​

RequestOptions.user


version?​

optional version?: string | number

Defined in: service-core/src/routes/ModelRoute.ts:52

The desired version number of the resource to delete.