---
title: "Rotate the certificate authority (revokes all issued certificates)"
method: POST
path: "/termix-id/ca/rotate"
tags: ["Termix ID"]
---

# Rotate the certificate authority (revokes all issued certificates)

`POST /termix-id/ca/rotate`

## Request body

- object
  - `validityDays` integer

## Response `200`

New CA public key

---

[API](https://skmtc.dev/termix/apis/termix-api.md) · [All operations](https://skmtc.dev/termix/apis/termix-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/termix/termix-api/revisions/f4ef343eff1b/schema)
