---
search:
  tags:
    - secrets
    - DELETE
seo:
  description: >-
    Removes the value from storage and from the running… Reference for the
    DELETE /v1/machines/{machine_id}/secrets/{name} endpoint in the Computer API
    API.
sidebar:
  badge: DELETE
  label: revoke a secret
title: revoke a secret
type: openapi-operation
---
Removes the value from storage and from the running machine. It cannot remove a copy the guest already made of it - a process that read the value and wrote it somewhere else still holds it - so revoking at the source is the product's half and rotating at the issuer is yours.

<Operation source="api" id="secrets-delete" />
