---
title: "Hide Oauth2 Client Secret"
method: POST
path: "/api/v1/oauth/clients/{client_id}/hide"
tags: ["oauth2-server"]
---

# Hide Oauth2 Client Secret

`POST /api/v1/oauth/clients/{client_id}/hide`

## Request

- Base URL: `https://memory.kagura-ai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://memory.kagura-ai.com/api/v1/oauth/clients/{client_id}/hide`
- Auth: none declared

Hide OAuth2 client secret (Owner only).

Sets hidden_at timestamp and deletes plaintext_secret_encrypted.

Args:
    client_id: OAuth2 client ID

Returns:
    Status message

## Path parameters

- `client_id` string, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
