Skip to content

Latest commit

 

History

History
105 lines (82 loc) · 3.82 KB

File metadata and controls

105 lines (82 loc) · 3.82 KB
title printer: restoreFactoryDefaults
description Reset a printer's default settings.
author braedenp-msft
ms.localizationpriority medium
ms.subservice universal-print
doc_type apiPageType
ms.date 04/05/2024

printer: restoreFactoryDefaults

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Restore a printer's default settings to the values specified by the manufacturer.

[!INCLUDE national-cloud-support]

Permissions

Choose the permission or permissions marked as least privileged for this API. Use a higher privileged permission or permissions only if your app requires it. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.

[!INCLUDE permissions-table]

HTTP request

POST /print/printers/{id}/restoreFactoryDefaults

Request headers

Name Description
Authorization Bearer {token}. Required. Learn more about authentication and authorization.

Request body

Don't supply a request body for this method.

Response

If successful, this method returns a 204 No Content response code. It doesn't return anything in the response body.

Example

The following example shows how to call this API.

Request

The following example shows a request.

POST https://graph.microsoft.com/beta/print/printers/{id}/restoreFactoryDefaults

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]

[!INCLUDE sample-code] [!INCLUDE sdk-documentation]


Response

The following example shows the response.

HTTP/1.1 204 No Content