---
title: "Revoke organization secret"
method: DELETE
path: "/v1/organizations/{account_id}/secrets"
tags: ["Organizations"]
---

# Revoke organization secret

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

Revoke an organization secret for an account. This endpoint is intended for dashboard-admin use.

## Path parameters

- `account_id` string, required

## Request body

- OrganizationSecretIdInput — Request body for targeting a specific organization secret.
  - `secret_id` string, required — The organization secret ID.

## Response `200`

Confirmation that the organization secret was revoked.

- 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/revisions/bb2eb34156cc/schema)
