Skip to main content
Glama

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
NameRequiredDescriptionDefault
uuidYesPrivate key UUID
confirmNoConfirm the dangerous operation (required when COOLIFY_REQUIRE_CONFIRM=true)

Implementation Reference

  • 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}`);
  • 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'] } },
  • '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',
  • 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.' };

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kof70/coolify-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server