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

# Revoke organization secret

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

## Request

- Base URL: `https://api.privy.io`
- URL: `https://api.privy.io/v1/teams/{account_id}/secrets`
- Auth: none declared

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

## Changes

- **2026-10-16** `4facbfa7f9d4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/privy-io/apis/privy-api/changes/v1/teams/:account_id/secrets/delete.md)

---

[API](https://skmtc.dev/privy-io/apis/privy-api.md) - [All operations](https://skmtc.dev/privy-io/apis/privy-api/llms.txt) - [OpenAPI document](https://skmtc.dev/privy-io/apis/privy-api/revisions/3a2288470053?raw)
