Examples

GET /api/users/988725677/ssh_keys/1-user3example-com
200
{
  "created_at": "2022-09-06 14:35:04 UTC",
  "updated_at": "2022-09-06 14:35:04 UTC",
  "id": 1,
  "name": "user3@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCx0lkrMVgbRwY1jO8eFD1EMvW+5Ya1YCExCa3r+BCMY0LHE5friN5m+J01dB7BFZcIdzMRmnI626btBbsh2ovoJkSbvjWTZuuX3b66Df1nBJDVd0ylyTSDCr1zQ4OEEP/RVo9hvoLjckvd0knACBtcWopR0n06Vavg5d1icWb8n2FqYAKpyjxXglaIP5T8ahxbw3GkfxEEU1eypwvbHBtoxKOnARnVuNTDV995j0S2GHxIs5PU6k2ak68AGaFoHJXbZ6gvfuB1CKjBO9ZmmBMdOjKSUYCxdvJZypWMbYaZx7DEIGNQ1fBlSZ8cTFRgOTvZcn7tfPNmm+EIRtHk8jk1 foreman3@example.com",
  "length": 2048,
  "fingerprint": "Cv9RRsMfOxGGNphJBiUWLshAZBnL7Q1igoC7/FjoDiE="
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

user_id
required

ID of the user

Validations:

  • Must be a String