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

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 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

  • uid (required): the user name (login name) of the user-object
  • caid (required): the id of the credaccount-object
  • certid (required): the id of the certificate-object

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"
  • certificate-object
  • cloudAccountCert-create
  • cloudAccountCert-delete
  • cloudAccountCert-download
  • cloudAccountCert-upload
  • cloudAccountResources-get
  • cloudAccount-create
  • cloudAccount-delete
  • cloudAccount-get
  • cloudAccount-getAll
  • cloudAccount-update
  • credaccount-object