DELETE
/
v1
/
secrets
/
{id}
Delete a secret
curl --request DELETE \
  --url https://api.rootly.com/v1/secrets/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "37faa30d-f132-435f-a7c0-e0d0b7644785",
    "type": "secrets",
    "attributes": {
      "kind": "built_in",
      "name": "plgcwreojl",
      "secret": "[REDACTED]",
      "hashicorp_vault_mount": "secret",
      "hashicorp_vault_path": null,
      "hashicorp_vault_version": 0,
      "created_at": "2025-07-17T11:07:22.681-07:00",
      "updated_at": "2025-07-17T11:07:27.412-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.