Delete a specific secret by id
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "b6759a83-1c7d-452e-995c-19f4fbe2bbc8",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "mzdflnxggo",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-02-20T18:00:56.328-08:00",
"updated_at": "2026-02-20T18:00:57.612-08:00"
}
}
}Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "b6759a83-1c7d-452e-995c-19f4fbe2bbc8",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "mzdflnxggo",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2026-02-20T18:00:56.328-08:00",
"updated_at": "2026-02-20T18:00:57.612-08:00"
}
}
}