---
title: "Changes to Rotate API Key"
method: POST
path: "/v1/user/apikey/rotate"
---

# Changes to Rotate API Key

`POST /v1/user/apikey/rotate`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 4 of 22 revisions.

- **2025-08-13** `c41cd7ae7718` — 2 breaking, 2 info
- **2024-01-31** `4f557b176ebd` — 3 breaking
- **2023-12-06** `35be9c1301b7` — 1 info
- **2023-12-05** `5c3748c387f7` — 5 info

## Changes

- **2025-08-13** `c41cd7ae7718` — 2 breaking, 2 info
  - removed the required property `api_key` from the response with the `401` status
  - removed the required property `api_key` from the response with the `500` status
  - added the non-success response with the status `400`
  - added the non-success response with the status `404`
- **2024-01-31** `4f557b176ebd` — 3 breaking
  - the `api_key` response's property type/format changed from `string`/`uuid` to `string`/`` for status `200`
  - the `api_key` response's property type/format changed from `string`/`uuid` to `string`/`` for status `401`
  - the `api_key` response's property type/format changed from `string`/`uuid` to `string`/`` for status `500`
- **2023-12-06** `35be9c1301b7` — 1 info
  - api tag `users` added
- **2023-12-05** `5c3748c387f7` — 5 info
  - api tag `users` removed
  - removed the non-success response with the status `400`
  - removed the non-success response with the status `404`
  - added the required property `api_key` to the response with the `401` status
  - added the required property `api_key` to the response with the `500` status

---

[Operation](https://skmtc.dev/projectdiscovery/apis/pdcp-api/docs/v1/user/apikey/rotate/post.md) · [API](https://skmtc.dev/projectdiscovery/apis/pdcp-api.md) · [Page](https://skmtc.dev/projectdiscovery/apis/pdcp-api/changes/v1/user/apikey/rotate/post)
