Examples

DELETE /api/users/988725682/ssh_keys/7-user15example-com
{
  "ssh_key": {}
}
200
{
  "id": 7,
  "name": "user15@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7S8f+r73SCOb6aH4F8ybbGGCgGj0JLrq5IoDfPh4YBJUc1u2uJvlEPxDjqjcOp/crcMzwzamswStvZ4cwXOpnvKcGf+ZLgN3uW6p3+3rWXSV7hkuG/yxNMXwAc/kWpLUXX5ja4fPxr+NYbt4XnHgSEZHR0g9+wOrP43EmFvfXt3CMD3P+c/u0eFgMU+nmt4CpJBzcd84pq9emj5TiiwOzftTF9N5VHosW0NuAoqKS77saE1MfRg+UgO83HkfC5Y/RTs0tIVo326h6PtIeD4KVFpflmcsNYxY93NXGL23OYEpDEjBLHDkDYIklR6/gsdgAY0fgbfsly+ZNSjQqCKBf foreman15@example.com",
  "fingerprint": "x0LD6dlPPZfA1kOMsv34IF79Gv10vwmPaofhYkyHxuo=",
  "user_id": 988725682,
  "length": 2048,
  "created_at": "2020-05-20T13:36:05.269Z",
  "updated_at": "2020-05-20T13:36:05.269Z"
}

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