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": "dcc4166f-c8b9-4bf6-b571-79836b50b356",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "hffczghbjx",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-11-13T17:34:13.394-08:00",
"updated_at": "2025-11-13T17:34:15.512-08: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": "dcc4166f-c8b9-4bf6-b571-79836b50b356",
"type": "secrets",
"attributes": {
"kind": "built_in",
"name": "hffczghbjx",
"secret": "[REDACTED]",
"hashicorp_vault_mount": "secret",
"hashicorp_vault_path": null,
"hashicorp_vault_version": 0,
"created_at": "2025-11-13T17:34:13.394-08:00",
"updated_at": "2025-11-13T17:34:15.512-08:00"
}
}
}