Examples

DELETE /api/users/988725678/ssh_keys/2-user4example-com
{
  "ssh_key": {}
}
200
{
  "id": 2,
  "name": "user4@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC0BcXPtwJaDwyzqZ+Rs35dyblR9uUMgeqY4aTq2G0/3eWoaxTYQLVQdO/jLuBjUFHHvTwWYjejrd6lEbD1dxiZkfbOgbV8HzBRR7EhVWG6Hk5cWvLo0KEncSWEbdJXTokJ13Pb60yKrn7PDl0iBtC/d5XEF3M6qkBk7tkf6XLWPymJcmB45UlmqP8WxRLoQFfQYe5K3fyS2ky3bRgBoym/h7OXOHbn9cwUAVCNlwDg7oLcNpwGRqCbsZ2BAFLs0EWQjKQ4jUGQY6f7FPp9Bj8DwM1LbRAP/zsIAPMiOVKgeY3ggkExWinisvNZLBost/69pW9umVCmQCkr7pPGmaKb foreman4@example.com",
  "fingerprint": "1fS3737n7fI1BSDL/Hhe6mMI07WSmrMYfB6GVY/EnQw=",
  "user_id": 988725678,
  "length": 2048,
  "created_at": "2022-09-06T14:35:04.675Z",
  "updated_at": "2022-09-06T14:35:04.675Z"
}

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