delete-secret
Delete a secret from a specific Infisical project and environment using the project ID, environment slug, secret name, and optional path.
Instructions
Delete a secret in Infisical
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": {
"projectId": "<projectId>",
"environmentSlug": "<environmentSlug>",
"secretName": "<secretName>"
},
"name": "delete-secret"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | Yes | The ID of the project to delete the secret from (required) | |
| secretName | Yes | The name of the secret to delete (required) | |
| secretPath | No | The path of the secret to delete (Defaults to /) | |
| environmentSlug | Yes | The slug of the environment to delete the secret from (required) |