Examples

DELETE /api/users/988725679/ssh_keys/3-user3example-com
{
  "ssh_key": {}
}
200
{
  "id": 3,
  "name": "user3@example.com",
  "key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCtg/vnAQOrltUERTujEXAbrymn53kOU/yJhQiX33rcTCoQtdSOJW9zmPaE/pUGn7cGWtfZY8GgLNciHirS8ujcxEMsmHZ5ng4HqHq/jFNdwAgDPQtt2rb1NHIxHCCMrOHtqjQKXU3fSg1qMUiEV7dIaRHv3fLmYRCKLZ7Z19kWa6y4NPR6DeXkEhCa3eT0VSUOQmEzcUj0L/Cb+h/iHuB6M7zJmtk9rG4DbXtKU2NJqHfSu5G3t7+reh1kSSLx4mH4jXKH+xOWGG7t2l4dW2IreKeQp0S6UDq9rLToVtHxHkHMxydd4xNIrw3A4e179FwGNZY16cvvob4GpVLq98L9 foreman3@example.com",
  "fingerprint": "b3:35:29:52:b9:37:c2:68:bd:cf:c1:56:66:9e:98:72",
  "user_id": 988725679,
  "length": 2048,
  "created_at": "2019-09-11T14:31:52.855Z",
  "updated_at": "2019-09-11T14:31:52.855Z"
}

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