Examples

DELETE /api/users/988725680/ssh_keys/5-user9example-com
{
  "ssh_key": {}
}
200
{
  "id": 5,
  "name": "user9@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtgrgT4RH549xl62dxhaow+QH0aqcSoEtWQthGJHnniDF7bAX4mxIup7XEGejzGWSphArWSD6eOs3t8DusLgrJH/ZQ/LeCdq4V1SO1o1H9hrlckvsDFqqsFk44UuJjevwOuelu5dB+RmPatL7WqLIQ4dJ5yzz/TVnrlWYD8PPFmSTneGyPcKhI3owZvhiuztdkbzoHegzwN029QYFJ8f4e6TZHB4eUoQZuypul9DsABZwQ0TIY8swrKMB72kPLYVdwmU1RXWoLteKVQpOQ7fGl+v5TeToNBDJHNNsZLh2qNIEu27vrXUGv7AtQFZWvvWMQtCsdmCeLg+a1z7HVfJA/ foreman8@example.com",
  "fingerprint": "da:74:ee:dc:63:b2:b9:29:b8:b1:b6:81:c5:ca:18:f0",
  "user_id": 988725680,
  "length": 2048,
  "created_at": "2019-02-20T13:29:33.821Z",
  "updated_at": "2019-02-20T13:29:33.821Z"
}

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