删除 microsoftAuthenticatorAuthenticationMethodConfigurationDelete microsoftAuthenticatorAuthenticationMethodConfiguration

命名空间:microsoft.graphNamespace: microsoft.graph

重要

Microsoft Graph /beta 中版本下的 API 可能会更改。APIs under the /beta version in Microsoft Graph are subject to change. 不支持在生产应用程序中使用这些 API。Use of these APIs in production applications is not supported. 若要确定 API 在 v1.0 中是否可用,请使用 版本选择 器。To determine whether an API is available in v1.0, use the Version selector.

Microsoft Authenticator 身份验证方法策略恢复为默认配置,以删除对 Microsoft Authenticator 身份验证方法策略所做的更改。Remove changes made to the Microsoft Authenticator authentication method policy by reverting the policy to its default configuration.

权限Permissions

要调用此 API,需要以下权限之一。要了解详细信息,包括如何选择权限的信息,请参阅权限One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

权限类型Permission type 权限(从最低特权到最高特权)Permissions (from least to most privileged)
委派(工作或学校帐户)Delegated (work or school account) Policy.ReadWrite.AuthenticationMethodPolicy.ReadWrite.AuthenticationMethod
委派(个人 Microsoft 帐户)Delegated (personal Microsoft account) 不支持。Not supported.
应用程序Application Policy.ReadWrite.AuthenticationMethodPolicy.ReadWrite.AuthenticationMethod

对于委派方案,管理员需要全局管理员角色。For delegated scenarios, the administrator needs the Global admin role. 有关详细信息,请参阅 角色For more information, see role.

HTTP 请求HTTP request

DELETE /policies/authenticationMethodsPolicy/authenticationMethodConfigurations/microsoftAuthenticator

请求标头Request headers

名称Name 说明Description
AuthorizationAuthorization Bearer {token}。必需。Bearer {token}. Required.

请求正文Request body

请勿提供此方法的请求正文。Do not supply a request body for this method.

响应Response

如果成功,此方法返回 204 No Content 响应代码。If successful, this method returns a 204 No Content response code.

示例Examples

请求Request

DELETE https://graph.microsoft.com/beta/policies/authenticationMethodsPolicy/authenticationMethodConfigurations/microsoftAuthenticator

响应Response

注意: 为了提高可读性,可能缩短了此处显示的响应对象。Note: The response object shown here might be shortened for readability.

HTTP/1.1 204 No Content