重置 accessReviewReset accessReview

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

重要

/betaMicrosoft Graph 中的版本下的 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.

在 "Azure AD 访问评论 " 功能中,重置当前活动的 accessReview的决策。In the Azure AD access reviews feature, reset the decisions of a currently active accessReview. 目标对象可以是一次性访问评审,也可以是定期访问评审的实例。The target object can be either a one-time access review, or an instance of a recurring access review. 以前的决策不再记录下来,但审阅者可以继续更新决策。Previous decisions are no longer recorded, but reviewers can continue to update decisions.

权限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) AccessReview、AccessReview 和所有AccessReview.ReadWrite.Membership, AccessReview.ReadWrite.All
委派(个人 Microsoft 帐户)Delegated (personal Microsoft account) 不支持。Not supported.
应用程序Application AccessReview.ReadWrite.MembershipAccessReview.ReadWrite.Membership

HTTP 请求HTTP request

POST /accessReviews/{reviewId}/resetDecisions

请求标头Request headers

名称Name 类型Type 说明Description
AuthorizationAuthorization stringstring 持有者 {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. It does not return anything in the response body.

示例Example

请求Request
POST https://graph.microsoft.com/beta/accessReviews/2975E9B5-44CE-4E71-93D3-30F03B5AA992/resetDecisions
响应Response

注意: 为了提高可读性,可能缩短了此处显示的响应对象。所有属性都将通过实际调用返回。Note: The response object shown here might be shortened for readability. All the properties will be returned from an actual call.

HTTP/1.1 204 No Content