Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 961 Bytes

sshKey_get.rst

File metadata and controls

49 lines (32 loc) · 961 Bytes

sshKey_get

.. function:: GET /users/{uid}/sshkeys/{sshid}

Summary

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

Retrieves a public SSH key for an user.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: None

URI Parameters

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/users/{uid}/sshkeys/{sshid}" -X GET \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
.. seealso::

         * :ref:`sshKey-create`
         * :ref:`sshKey-delete`
         * :ref:`sshKey-getAll`
         * :ref:`sshkey-object`