Delete secret file
render_delete_secret_fileDelete a secret file directly from a Render service using its service ID and file name. Removes the file from the service's configuration, not from linked environment groups.
Instructions
Delete secret file. Delete a particular secret file from a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. Calls DELETE /services/{serviceId}/secret-files/{envVarKey} on the Render Public API.
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": {
"envVarKey": "<envVarKey>",
"serviceId": "<serviceId>"
},
"name": "render_delete_secret_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envVarKey | Yes | The file name of the secret file | |
| serviceId | Yes | The ID of the service |