Sites

Remove a secret from a site

Deletes the secret and removes it from the live site's environment. This is permanent — the encrypted value cannot be recovered afterward.

delete/sites/{id}/secrets/{secret_id}

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/sites/{id}/secrets/{secret_id}
  • Auth: API key in header Authorization

Path parameters

idstring required

The resource ID (e.g., "prod_abc123") or slug (e.g., "my-product")

secret_idstring required

The secret's ID (e.g., "secret_3f9a1c0b7d2e4a6f8b1c3d5e")

Response

Secret removed

idstring required
objectstring required
deletedtrue required

Changes

No recorded changes to this operation across all 2 revisions of this API.