---
search:
  tags:
    - Operations
    - DELETE
seo:
  description: >-
    Owner-only. Removes the named secret. The name is passed as the name query…
    Reference for the DELETE /app/{id}/secrets endpoint in the Charming API API.
sidebar:
  badge: DELETE
  label: Delete a secret by name
title: Delete a secret by name
type: openapi-operation
---
Owner-only. Removes the named secret. The name is passed as the `name` query parameter. Requires the owner's user token; app/render tokens are rejected.

<Operation source="reference" id="delete-app-secret" />

Found a bug or need a feature? [Tell us](/docs/capabilities/feedback) with `submit_feedback` or `POST /app/{id}/feedback`. Your feedback shapes what we build next.
