---
updatedAt: 2026-05-27T19:42:41.000Z
agentTools:
  projectIndex: https://developers.hivelocity.net/llms.txt
---

# Removes public ssh key

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "paths": {
    "/ssh_key/{sshKeyId}": {
      "delete": {
        "operationId": "delete_ssh_key_id_resource",
        "parameters": [
          {
            "description": "An optional fields mask",
            "in": "header",
            "name": "X-Fields",
            "schema": {
              "type": "string",
              "format": "mask"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Public ssh key successfully removed."
          },
          "204": {
            "description": "Success"
          },
          "403": {
            "description": "You have not been granted permission to complete this action. Please contact your account manager to grant the proper permission."
          },
          "404": {
            "description": "Public ssh key not found."
          }
        },
        "summary": "Removes public ssh key",
        "tags": [
          "SshKey"
        ]
      },
      "parameters": [
        {
          "in": "path",
          "name": "sshKeyId",
          "required": true,
          "schema": {
            "type": "integer"
          }
        }
      ]
    }
  },
  "info": {
    "description": "Interact with Hivelocity",
    "title": "Hivelocity API",
    "version": "2.0"
  },
  "security": [
    {
      "apiKey": []
    }
  ],
  "tags": [
    {
      "description": "Endpoints to manage SSH key.",
      "name": "SshKey"
    }
  ],
  "servers": [
    {
      "url": "https://core.hivelocity.net/api/v2"
    }
  ],
  "components": {
    "securitySchemes": {
      "apiKey": {
        "in": "header",
        "name": "X-API-KEY",
        "type": "apiKey"
      }
    }
  }
}
```