Examples

DELETE /api/users/988725678/ssh_keys/1-user3example-com
{
  "ssh_key": {}
}
200
{
  "id": 1,
  "name": "user3@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDIS1Jg1AAiM/LN/1667keKKf3auMLs2wnBP261aj0E59bz/wuhgx7MGgYb2pjEGa8a8O2GznKMaM1fYG1TaE9hI6froHqe41sOZsTRmeYIpyKbDchq+N3xBm6C4BUpCKyTCtQMlpqpzhJyBl11BsbYSvQ8QmgPLOdOD2NZmmTLxtsWW9wyHTwpHK0+x3sO8A6zaiqIIVraZLvUUWxW5NWqgtmxYtF68Mw+/iuaJ3xoWjGLQespx6xrwzkBsr/A2PjG35vdaOs6aq8xXFMTOw+XZBgI/mL58UVsgrZ1+8g5B4pM+P5wxMztejsS8oXX+xLHbj1h/+WDhKEP5Re0b5Kx foreman3@example.com",
  "fingerprint": "be:28:25:ea:7b:50:cb:81:67:4a:16:48:e8:7e:32:5d",
  "user_id": 988725678,
  "length": 2048,
  "created_at": "2018-11-15T19:01:28.499Z",
  "updated_at": "2018-11-15T19:01:28.499Z"
}

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

user_id
required

ID of the user

Validations:

  • Must be a String