Examples

DELETE /api/users/988725722/ssh_keys/1-user2example-com
{
  "ssh_key": {}
}
200
{
  "id": 1,
  "name": "user2@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDggz6N7Ki0HR8B81e5caLfKNYelu1NUK8XRhVO/xsI0wnURC1YYx13sGXDP+MogA9O8+Qq1jgtppuruyDBUZVNp5F8pa/jRgK9Htek6u0ZTuSnqQ8+Agc7GKduDDXF26iBTMoANL085cxoadl7qibWdzhEspI2TwVHklUMEQnGzRnJGUhgHT44lAKME32bZ73LO++7S8s0VpIfHg6PfaRQV8mM3yKUNVQHsJGGMXY9O4b1nQowxvYasIGU4NCHuRzi/hPtr1vLoRoyd1TOQ7jn0GOseAhlNJKsf93ibQVTZamFJsv/cVtCiYKtDBx5lb0LsqQHP0yZ9zn/ojsdhDR9 foreman1@example.com",
  "fingerprint": "rjjzIMKc2mG0jDUUtRnMLPf1AUlAqESSKqsq2aeqXK4=",
  "user_id": 988725722,
  "length": 2048,
  "created_at": "2020-11-04T14:17:50.812Z",
  "updated_at": "2020-11-04T14:17:50.812Z"
}

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