delete_private_key
Remove a private key from Coolify's self-hosted PaaS to manage security credentials. When required, confirm the operation with a parameter.
Instructions
Delete a private key. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Private key UUID | |
| confirm | No | Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true) |
Implementation Reference
- src/tools/handlers.ts:456-458 (handler)Handler implementation for the 'delete_private_key' tool. It requires a 'uuid' parameter and calls the Coolify client to DELETE /security/keys/{uuid}, deleting the private key.case 'delete_private_key': requireParam(args, 'uuid'); return client.delete(`/security/keys/${args.uuid}`);
- src/tools/definitions.ts:660-671 (schema)Input schema definition for the 'delete_private_key' tool, specifying the required 'uuid' parameter and optional 'confirm' for dangerous operations.{ name: 'delete_private_key', description: 'Delete a private key. When COOLIFY_REQUIRE_CONFIRM=true, requires confirm: true parameter.', inputSchema: { type: 'object', properties: { uuid: { type: 'string', description: 'Private key UUID' }, confirm: { type: 'boolean', description: 'Confirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)' } }, required: ['uuid'] } },
- src/tools/definitions.ts:61-62 (registration)'delete_private_key' is registered as a dangerous operation in DANGEROUS_OPERATIONS array, which triggers confirmation requirement via checkConfirmation.'delete_private_key', 'delete_github_app',
- src/tools/definitions.ts:83-86 (helper)Warning message for the 'delete_private_key' tool used in confirmation prompts.delete_private_key: 'This will permanently delete the private key. Make sure no servers are using it.', delete_github_app: 'This will permanently delete the GitHub App configuration. Applications using it will lose access.', cancel_deployment: 'This will cancel the deployment in progress.' };