Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.01 KB

sshKey_getAll.rst

File metadata and controls

52 lines (33 loc) · 1.01 KB

sshKey_getAll

GET /users/{uid}/sshkeys

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: application/xml application/json
  • Since: UForge 3.4

Retrieves all the publish SSH keys for an user.

A list of sshkey-object objects are returned.

The query parameter name can be used to search for a subset of ssh keys.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: None

URI Parameters

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

HTTP Request Body Parameters

None

Example Request

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