---
title: "POST /v1/{+name}:approve"
method: POST
path: "/v1/{+name}:approve"
tags: ["organizations"]
---

# POST /v1/{+name}:approve

`POST /v1/{+name}:approve`

Approves a request and returns the updated ApprovalRequest. Returns NOT_FOUND if the request does not exist. Returns FAILED_PRECONDITION if the request exists but is not in a pending state.

## Path parameters

- `name` string, required

## Request body

- ApproveApprovalRequestMessage — Request to approve an ApprovalRequest.
  - `expireTime` string, google-datetime — The expiration time of this approval.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/accessapproval.md) · [All operations](https://skmtc.dev/google/apis/accessapproval/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/accessapproval/revisions/68e321e41047/schema)
