---
title: "Rotate Secret"
method: POST
path: "/api/myapps/{app_id}/rotate-secret"
tags: ["myapps"]
---

# Rotate Secret

`POST /api/myapps/{app_id}/rotate-secret`

## Request

- Base URL: `https://account.it.chula.ac.th` (the document declares no server; this is the origin it was published from)
- URL: `https://account.it.chula.ac.th/api/myapps/{app_id}/rotate-secret`
- Auth: none declared
- TypeScript: <https://skmtc.dev/chula/apis/chulasso-service/docs/api/myapps/:app_id/rotate-secret/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `app_id` string, required

## Response `200`

Successful Response

- MyAppSecretOut
  - `app_id` string, required
  - `app_secret` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/chula/apis/chulasso-service.md) - [All operations](https://skmtc.dev/chula/apis/chulasso-service/llms.txt) - [OpenAPI document](https://skmtc.dev/chula/apis/chulasso-service/revisions/54e1f2ec6532?raw)
