SSH-ключі

Add an SSH key

POST
/user/ssh-keys/

Adds an SSH public key to your account.

Authorization

bearerAuth
AuthorizationBearer <token>

API key created in the portal (Settings → API Keys). Send as Authorization: Bearer <key>.

In: header

Request Body

TypeScript Definitions

Use the request body type in TypeScript.

SSH public key on your account.

Response Body

application/json

curl -X POST "https://example.com/user/ssh-keys/" \  -H "Content-Type: application/json" \  -d '{    "name": "string",    "public_ssh_key": "string"  }'
{  "id": 0,  "name": "string",  "public_ssh_key": "string"}