DELETE
/
v1
/
secrets
/
{id}
curl --request DELETE \
  --url https://api.rootly.com/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "00a6e2d8-9449-48a5-966a-51859dd10395",
    "type": "secrets",
    "attributes": {
      "kind": "built_in",
      "name": "linyqlrenn",
      "secret": "[REDACTED]",
      "hashicorp_vault_mount": "secret",
      "hashicorp_vault_path": null,
      "hashicorp_vault_version": 0,
      "created_at": "2025-05-08T00:24:45.442-07:00",
      "updated_at": "2025-05-08T00:24:49.382-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.