Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 929 Bytes

sshKey_delete.rst

File metadata and controls

49 lines (32 loc) · 929 Bytes

sshKey_delete

DELETE /users/{uid}/sshkeys/{sshid}

Summary

  • Method: DELETE
  • Response Code: 204 / 200
  • Response Formats:
  • Since: UForge 3.4

Removes an ssh key from an user.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: None

URI Parameters

  • uid (required): the user name (login name) of the user-object
  • sshid (required): the id of the sshkey-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/sshkeys/{sshid}" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • sshKey-create
  • sshKey-get
  • sshKey-getAll
  • sshkey-object