---
title: "Rotate a sign-in app’s secret"
method: POST
path: "/v1/identity/clients/{id}/secret"
tags: ["Shakehand"]
---

# Rotate a sign-in app’s secret

`POST /v1/identity/clients/{id}/secret`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/identity/clients/{id}/secret`
- Auth: HTTP bearer

New client secret → `{ client, client_secret }`. The old one stops working.

Permission: `identity:manage`.

## Path parameters

- `id` string, uuid, required

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

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