---
title: "Regenerate App Secret"
method: POST
path: "/idp/apps/{app_id}/regenerate-secret"
tags: ["Identity Provider"]
---

# Regenerate App Secret

`POST /idp/apps/{app_id}/regenerate-secret`

## Request

- Base URL: `https://api.chutes.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.chutes.ai/idp/apps/{app_id}/regenerate-secret`
- Auth: API key in header `Authorization`

Regenerate the client secret for an OAuth application.

## Path parameters

- `app_id` string, required

## Headers

- `X-Chutes-Hotkey` string, nullable
- `X-Chutes-Signature` string, nullable
- `X-Chutes-Nonce` string, nullable
- `Authorization` string, nullable

## Response `200`

Successful Response

- string

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-16** `23e8895b217d`: 4 breaking, 2 info
  - the response's body type changed from `object` to `string` for status `200`
  - removed the required property `app_id` from the response with the `200` status
  - removed the required property `client_id` from the response with the `200` status
  - removed the required property `client_secret` from the response with the `200` status
  - …2 more
- **2026-08-26** `8d909638091e`: 1 info
  - endpoint added
- **2026-08-22** `05d9af05d87e`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/chutes/apis/chutes-api/changes/idp/apps/:app_id/regenerate-secret/post.md)

---

[API](https://skmtc.dev/chutes/apis/chutes-api.md) - [All operations](https://skmtc.dev/chutes/apis/chutes-api/llms.txt) - [OpenAPI document](https://skmtc.dev/chutes/apis/chutes-api/revisions/8add5b0e22da?raw)
