NodeRings Docs

Create SSHKey

POST
/v1/ssh-keys
Authorization<token>

Bearer token

In: header

X-Organization-ID<token>

Tenant or organization identifier

In: header

publicKey?string
name?string

Response Body

application/json

curl -X POST "https://api.nrings.io/v1/ssh-keys" \  -H "Authorization: Bearer {your_token}" \  -H "X-Organization-ID: {your_org_id}" \  -H "Content-Type: application/json" \  -d '{  "publicKey": "string",  "name": "string"}'
{
  "sshKey": {
    "id": "string",
    "publicKey": "string",
    "keyType": "string",
    "name": "string",
    "fingerprint": "string",
    "organizationId": "string",
    "timestamps": {
      "createTime": "2019-08-24T14:15:22Z",
      "updateTime": "2019-08-24T14:15:22Z"
    }
  }
}