---
title: "Rotate pages"
method: POST
path: "/v1/pdf/rotate"
tags: ["PDF tools"]
---

# Rotate pages

`POST /v1/pdf/rotate`

## Request

- Base URL: `https://api.dharun.dev`
- URL: `https://api.dharun.dev/v1/pdf/rotate`
- Auth: none declared

Turns pages clockwise by a multiple of 90 degrees. Options go in the query string, or as form fields when the file is sent as multipart/form-data.

## Query parameters

- `angle` integer
- `pages` string

## Response `200`

Success

## Other responses

- `400`: Error
- `404`: Error
- `413`: Error
- `429`: Error

---

[API](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data.md) · [All operations](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data/llms.txt) · [OpenAPI document](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data/revisions/ecd8b0ec7863?raw)
