Delete secret
delete_secretDelete a secret and its history. Requires secrets:write and the editor role.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"environment": "<environment>",
"key": "<key>"
},
"name": "delete_secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Secret key, e.g. DATABASE_URL | |
| project | Yes | Project slug or id | |
| environment | Yes | Environment slug or id, e.g. development, preview or production |