---
title: "Rotate app token"
method: POST
path: "/firewall/apps/{app_id}/token"
---

# Rotate app token

`POST /firewall/apps/{app_id}/token`

creates a new token and revokes the current token if it exists for a Zen app

## Path parameters

- `app_id` integer, required

## Response `200`

The token for the app has been successfully rotated

- object
  - `token` string — The newly rotated token.

## Other responses

- `404` — App not found

---

[API](https://skmtc.net/aikido/apis/authorization.md) · [All operations](https://skmtc.net/aikido/apis/authorization/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aikido/authorization/revisions/5445e7c21137/schema)
