Examples

DELETE /api/users/988725678/ssh_keys/1-user2example-com
{
  "ssh_key": {}
}
200
{
  "id": 1,
  "name": "user2@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXEb4ITdGxF/HiFZRwWHpEvPmmLtDniPNEokt98yQ68aKLLl9OTpgrx0CBfucLJV1cfooe+03Il8w5l4vxqsdYFrGpP0ssMLAIrBy499ER5lYEpI1cTJDLLcUvmSnqyNF1gOU0oPetdwloJapTn/7pu/GRJQ8SSOWpumYvvJhzAlSo0fW+NkNFyfjiV+I3x/Xa5BlXRCHJQ06sBbdM+1ki7F4RbSUBssVDVLfxUU4v2j/VL//I1biqHdIp3bV1O/S2G7yVnveWJRO8WyNu864ipWPB1NJZtY1KQCWBbWvOPlTeptrCVMz9Ajatqw40GZeu6KM5hI3Z1vDZdeexvo8r foreman2@example.com",
  "fingerprint": "08:d4:7e:b7:9d:a6:91:cc:43:30:81:8a:94:cd:fd:1f",
  "user_id": 988725678,
  "length": 2048,
  "created_at": "2018-11-16T10:03:06.910Z",
  "updated_at": "2018-11-16T10:03:06.910Z"
}

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 a String

user_id
required

ID of the user

Validations:

  • Must be a String