DELETE
/
v1
/
secrets
/
{id}
Delete a secret
curl --request DELETE \
  --url https://api.rootly.com/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "a1a22784-128a-4f5e-b337-6c977bf05d9d",
    "type": "secrets",
    "attributes": {
      "kind": "built_in",
      "name": "fnrojvjayq",
      "secret": "[REDACTED]",
      "hashicorp_vault_mount": "secret",
      "hashicorp_vault_path": null,
      "hashicorp_vault_version": 0,
      "created_at": "2025-08-01T11:11:43.101-07:00",
      "updated_at": "2025-08-01T11:11:45.787-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.