Skip to content

Latest commit

 

History

History
123 lines (88 loc) · 4.33 KB

File metadata and controls

123 lines (88 loc) · 4.33 KB
title Delete qrCodePinAuthenticationMethod
description Delete a qrCodePinAuthenticationMethod object.
author AanjuSingh
ms.date 04/16/2025
ms.localizationpriority medium
ms.subservice entra-sign-in
doc_type apiPageType

Delete qrCodePinAuthenticationMethod

Namespace: microsoft.graph

[!INCLUDE beta-disclaimer]

Deletes user's qrCodePinAuthenticationMethod object. Once the object is deleted, it can't be retrieved. The user won't be able to sign-in with any QR codes associated with the deleted object.

[!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]

[!INCLUDE rbac-authentication-methods-apis-write-others]

HTTP request

Delete your own QR Code + PIN authentication method.

[!INCLUDE me-apis-sign-in-note]

DELETE /me/authentication/qrCodePinMethod

Delete another user's QR Code + PIN authentication method.

[!INCLUDE authentication-methods-apis-users-selfservice]

DELETE /users/{id}/authentication/qrCodePinMethod

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.

Examples

Request

The following example shows a request.

DELETE https://graph.microsoft.com/beta/users/7c4999f7-9c25-4f8e-8b84-766eb28a1b49/authentication/qrCodePinMethod

[!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