Delete a specific secret by id
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "1ebcb763-56d5-4756-850b-fc26deb4fc9e",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "ymnonxuwhd",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-01-12T13:13:37.368-08:00",
"updated_at": "2026-01-12T13:13:39.360-08:00"
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "1ebcb763-56d5-4756-850b-fc26deb4fc9e",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "ymnonxuwhd",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-01-12T13:13:37.368-08:00",
"updated_at": "2026-01-12T13:13:39.360-08:00"
}
}
}