---
title: "Update organization secret signing key"
method: PATCH
path: "/v1/organizations/{account_id}/secrets"
tags: ["Organizations"]
---

# Update organization secret signing key

`PATCH /v1/organizations/{account_id}/secrets`

Update or clear the signing public key on an organization secret. This endpoint is intended for dashboard-admin use.

## Path parameters

- `account_id` string, required

## Request body

- UpdateOrganizationSecretSigningKeyInput — Request body for updating the signing public key on an organization secret.
  - `secret_id` string, required — The organization secret ID.
  - `signing_public_key` string, nullable, required — P-256 public key in PEM format, or null to clear the configured signing key.

## Response `200`

Confirmation that the signing key was updated.

- SuccessResponse — A simple success response.
  - `success` boolean, required

---

[API](https://skmtc.net/privy-io/apis/privy-api.md) · [All operations](https://skmtc.net/privy-io/apis/privy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/privy-io/privy-api/versions/bb2eb34156cc/schema)
