Sites

Remove a secret from a site

Changed on

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
  • Auth
    API key in header Authorization

Path parameters

id, string required

The resource's ID, as returned in its id field

secret_id, string required

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

Response

Secret removed

DeleteResponse required
id, string required
object, string required
deleted, true required

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    1 more change in this revision