---
title: "Renew several servers · API | Rdp.Vision"
description: "POST /servers/renew: Renews up to 50 servers for the same term. The balance must cover all of them; one that fails stops the rest."
url: https://rdp.vision/docs/api/servers/renew-many
---

Open in AI

[ChatGPT](https://chatgpt.com/?q=Read%20https%3A%2F%2Frdp.vision%2Fdocs%2Fapi%2Fservers%2Frenew-many.md%20and%20help%20me%20use%20the%20Rdp.Vision%20API.)[Claude](https://claude.ai/new?q=Read%20https%3A%2F%2Frdp.vision%2Fdocs%2Fapi%2Fservers%2Frenew-many.md%20and%20help%20me%20use%20the%20Rdp.Vision%20API.)

Servers

# Renew several servers

Renews up to 50 servers for the same term. The balance must cover all of them; one that fails stops the rest.

POST`/servers/renew`

## Authorization

`Authorization`header required

`Bearer rv_…`, a key with the `renew` scope. [About keys](https://rdp.vision/docs/api/authentication)

## Body

application/json

`server_ids`string\[\] (uuid) required

1 to 50 server ids.

`duration`integer optional, default 1

Months, 1 to 12.

## Status codes

- 200 | Success.
- 401 | No key, a wrong key, or a revoked or expired one.
- 402 | The balance doesn’t cover it. detail has message, required and balance.
- 429 | More than 120 requests a minute with one key, or too many wrong keys from one address.

Request

curl -X POST "https://rdp.vision/api/v1/servers/renew" \\
  -H "Authorization: Bearer $RDPVISION\_KEY" \\
  -H "Content-Type: application/json" \\
  -d '{"server\_ids":\["3f6c2a8e-91d4-4b7a-a5e2-7c0d9b1f4e36"\],"duration":1}'

Response

{
  "success": true
}
