---
title: "Approve an approval request"
method: POST
path: "/approval_requests/{uuid}/approve"
---

# Approve an approval request

`POST /approval_requests/{uuid}/approve`

## Request

- Base URL: `https://api.border0.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.border0.com/approval_requests/{uuid}/approve`
- Auth: API key in header `Authorization`

## Path parameters

- `uuid` string, required

## Request body

- V1ApproveDeclineOrRevokePayload
  - `comment` string
  - `decision_workflow_id` string
  - `policy_data` object
  - `socket_ids` string[]

## Response `201`

Created

- SerializerApprovalHistory
  - `action` string
  - `approval_history_id` string
  - `approval_request_id` string
  - `approver` SerializerApprover
    - `approver_id` string
    - `display_name` string
    - `email` string
    - `image_url` string
  - `comment` string
  - `created_at` string
  - `decision_workflow_id` string
  - `requester` SerializerRequester
    - `display_name` string
    - `email` string
    - `image_url` string
    - `requester_id` string
  - `sockets` SerializerMinimalSocket[]
    - `alive` boolean
    - `dns_name` string
    - `name` string
    - `socket_id` string
    - `socket_type` string
    - `tags` object

## Other responses

- `401`: Unauthorized
- `404`: Not Found
- `500`: Internal Server Error

---

[API](https://skmtc.dev/border0/apis/border0-api.md) - [All operations](https://skmtc.dev/border0/apis/border0-api/llms.txt) - [OpenAPI document](https://skmtc.dev/border0/apis/border0-api/revisions/f0ccef7418d8?raw)
