Examples

GET /api/users/988725678/ssh_keys/1-user4example-com
200
{
  "created_at": "2018-11-15 19:01:28 UTC",
  "updated_at": "2018-11-15 19:01:28 UTC",
  "id": 1,
  "name": "user4@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDA13mD474oUTlgiK5gQItgbkPTgYW2440AShXCLN76gcdP3DNW2qDU4m2Si1EpzNUKeGoZPxuMXh00P2oViyDzrVklDuegF1XzGkz8JA/WYyVk9Fm5IZoDvrlALS5WlqNpKpa0LUonIDW6QH0+62l68n5qw39MhRbHWSfcNE8RVHztvxBmwEiKLCwYUo2nBKHZhQ+PEBet/dw30WiQtUSltXVwVWC9KvQ5PJrmrV5Ibn3P1m8HeHA5noEXLMyHbwl1io8iRPWAK9g6W4PyGGQc5skRvb8GqlqYS1SJ+SsvYGhKbjpjqwChA+AJfkPkEYAcorT8soCPxScQaLRHxWqz foreman4@example.com",
  "length": 2048,
  "fingerprint": "0b:01:1f:15:1e:ae:7a:49:5f:7a:52:8f:91:81:a1:a8"
}

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