Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.64 KB

cloudAccountCert_download.rst

File metadata and controls

62 lines (43 loc) · 1.64 KB

cloudAccountCert_download

.. function:: GET /users/{uid}/accounts/{caid}/certs/{certid}

Summary

  • Method: GET
  • Response Code: 200 / 304
  • Response Formats: */*
  • Since: UForge 2.0

Downloads a certificate from an user's cloud account.

The certificate can be downloaded without authentication if an downloadId is added as a query parameter. To retrieve the downloadId, use :ref:`cloudAccount-get`.

Note

The downloadId can only be used once, afterwards it expires, and a new downloadId must be retrieved.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

HTTP Request Body Parameters

None

Example Request

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

         * :ref:`certificate-object`
         * :ref:`cloudAccountCert-create`
         * :ref:`cloudAccountCert-delete`
         * :ref:`cloudAccountCert-download`
         * :ref:`cloudAccountCert-upload`
         * :ref:`cloudAccountResources-get`
         * :ref:`cloudAccount-create`
         * :ref:`cloudAccount-delete`
         * :ref:`cloudAccount-get`
         * :ref:`cloudAccount-getAll`
         * :ref:`cloudAccount-update`
         * :ref:`credaccount-object`