Examples

GET /api/users/980190966/ssh_keys/5-user4example-com
200
{
  "created_at": "2018-07-24 12:58:21 UTC",
  "updated_at": "2018-07-24 12:58:21 UTC",
  "id": 5,
  "name": "user4@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDMteeGCl0hs0oCgji1Dao0ilZwtwt0eUDVRyQHVYpTmRRuqxqws3r04Qy/pZM2dy+kWUYY2ZiP4amAEnBvN8vyls6pI6G95Nr2VVu9KO4OGDitXoCB6m9J8Ho906ziCMxSqmNcHvQT3e1B5UOMyw38YESNB2GccMrgSUD4ospGcpip7ev9kovhoSQkqLiIqbPo+qJ/x99UVocBqY7Pq7Sq3vfRbrPtrp89H8IVd+zLzWY1n9EVeRwTq6JaHjL2od/P3O7dEqDSF6/RmyS/hz8ZVVU0GfKmBH/E5noeQ9QGxcafBeCmdcCCI8mEiu6qkH/Cn/2QxsrKn5nYM88oi0ET foreman4@example.com",
  "length": 2048,
  "fingerprint": "cd:76:19:8f:2c:eb:e6:4b:cd:e8:01:ab:6b:f8:bd:05"
}

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