DELETE
/
v1
/
secrets
/
{id}
Delete a secret
curl --request DELETE \
  --url https://api.rootly.com/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "dd51fb7d-b2e9-4587-86d0-90b7396e8cfa",
    "type": "secrets",
    "attributes": {
      "kind": "built_in",
      "name": "rvnakampip",
      "secret": "[REDACTED]",
      "hashicorp_vault_mount": "secret",
      "hashicorp_vault_path": null,
      "hashicorp_vault_version": 0,
      "created_at": "2025-07-09T12:25:08.692-07:00",
      "updated_at": "2025-07-09T12:25:11.966-07:00"
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/vnd.api+json

secret deleted

The response is of type object.