Delete a specific secret by id
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "bdd058f6-489b-4213-ac50-b0b7ae74c05d",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "lllxizpros",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-01-22T04:45:14.854-08:00",
"updated_at": "2026-01-22T04:45:16.269-08:00"
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "bdd058f6-489b-4213-ac50-b0b7ae74c05d",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "lllxizpros",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-01-22T04:45:14.854-08:00",
"updated_at": "2026-01-22T04:45:16.269-08:00"
}
}
}