cloudAccountCert_upload

POST /users/{uid}/accounts/{caid}/certs/{certid}/{fileName}

Uploads a certificate to a user’s cloud account.

Note

If you wish to replace a certificate, then prior to uploading please delete the current certificate by using cloudAccountCert_delete.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: cloud_account_create,cloud_account_edit

URI Parameters

  • uid (required): the user name (login name) of the user
  • fileName (required): the file name of the certificate
  • caid (required): the id of the credAccount
  • certid (required): the id of the certificate

HTTP Request Body Parameters

The file to upload.

Example Request

curl "https://uforge.example.com/api/users/{uid}/accounts/{caid}/certs/{certid}/{fileName}" -X POST \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"-H "Content-type: application/xml" --data-binary "@binaryFilePath"