Examples

GET /api/users/988725677/ssh_keys/1-user1example-com
200
{
  "created_at": "2019-09-11 14:31:52 UTC",
  "updated_at": "2019-09-11 14:31:52 UTC",
  "id": 1,
  "name": "user1@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCeU1GmZAFEvuifxP84M1R+Lvse5C7KfQ/st3WuBERmGbSwBRtQfbq2wIuyI90bBFuvmU9Ur7PjQ1icqn6QB/r6YypB3KJ6V9vT18REwfjhYaRkgwYipNC+VvUH9J9teRJjRtTgouwmMbcJDrhfynMxpJar4Tg2OccoB5IGRVUFTCS0fdeOdsb9GycAOgeoZTew756dwMKCX6Z9jcNTXRDcppwqaa3hZB0hGAYnzMeaGvHDH6q1UEUMZPje6Z3djNcZRGpipgyWEnK7Jigh6mupCda2LOVW4k7XwjAXfUFOgTLqekculyd8QZq7jhfozu11W0vXtJEZKHa/vq2w1Zh9 foreman1@example.com",
  "length": 2048,
  "fingerprint": "a0:d6:20:f7:85:be:c5:df:e7:a5:e2:67:37:31:96:8c"
}

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

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