Delete printTaskTrigger

Namespace: microsoft.graph

Delete the task trigger of a printer to prevent related print events from triggering tasks on the specified printer.

Permissions

One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

In addition to the following permissions, the user's tenant must have an active Universal Print subscription.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Printer.ReadWrite.All, Printer.FullControl.All
Delegated (personal Microsoft account) Not Supported.
Application Not Supported.

HTTP request

DELETE /print/printers/{printerId}/taskTriggers/{printTaskTriggerId}

Request headers

Name Description
Authorization Bearer {token}. Required.

Request body

Do not supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code.

Examples

Request

DELETE https://graph.microsoft.com/v1.0/print/printers/{printerId}/taskTriggers/{printTaskTriggerId}

Response

HTTP/1.1 204 No Content