---
title: "Approve agent"
method: POST
path: "/pending_agents/{id}/approve/"
tags: ["Pending Agents"]
---

# Approve agent

`POST /pending_agents/{id}/approve/`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/pending_agents/{id}/approve/`
- Auth: API key in header `Authorization`

Approve pending agent.

## Path parameters

- `id` number, required

## Request body

- object
  - `license_package_name` string, required: License package name. License Package is required for license version V4 or higher

## Response `200`

Successful response

- object

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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