Examples

GET /api/users/988725678/ssh_keys/2-user7example-com
200
{
  "created_at": "2019-02-20 13:29:33 UTC",
  "updated_at": "2019-02-20 13:29:33 UTC",
  "id": 2,
  "name": "user7@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDNS5kH4fSRKJYMdYa2YfHORm4ffP3SPhP9NkgeUrfR98p//Oc6mtkVA6f4kT12XufGTKvum2vp099TywLvZ3sg5KiX6bDE9CRJjo8lxv3mjO4oJiguTNK1ul89R1aNK7dJAeDdccYb+28cHJWgV2sclud3+u838el1zXD2ylBhB58kaDkmp1sJ9KrodAZIJ6B9BfNzn0ueOXPQr2i+m59fpmd8YjHWYli8kVxaws1/68QmcmO+RSfaTgLE++WqQLtVa6JPevrByDVgyz7K1rXkxEsUr8hpnyCClcdR63bILTDBzVBvbqdmQzS+DmQosF0B7TYrCLUifKoDhC2cea8x foreman6@example.com",
  "length": 2048,
  "fingerprint": "99:59:5e:16:be:d7:f5:5e:31:20:ea:63:57:99:21:c9"
}

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