Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
secret deleted
Delete a specific secret by id
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "7705fc3b-c452-48ed-9ced-4720adda6f37",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "znmtlyzhjb",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-10-23T15:48:34.720-07:00",
"updated_at": "2025-10-23T15:48:36.814-07:00"
}
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
secret deleted
Show child attributes
Was this page helpful?
curl --request DELETE \
--url https://api.rootly.com/v1/secrets/{id} \
--header 'Authorization: Bearer <token>'{
"data": {
"id": "7705fc3b-c452-48ed-9ced-4720adda6f37",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "znmtlyzhjb",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-10-23T15:48:34.720-07:00",
"updated_at": "2025-10-23T15:48:36.814-07:00"
}
}
}