POST /users/{uid}/accounts/{caid}/certs/{certid}/{fileName}
Summary
- Method:
POST
- Response Code:
201
- Response Formats:
application/xml
application/json
- Since:
UForge 2.0
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
.
- Requires Authentication:
true
- Entitlements Required:
cloud_account_create,cloud_account_edit
uid
(required): the user name (login name) of theuser-object
fileName
(required): the file name of the certificatecaid
(required): the id of thecredaccount-object
certid
(required): the id of thecertificate-object
The file to upload.
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"
certificate-object
cloudAccountCert-create
cloudAccountCert-delete
cloudAccountCert-download
cloudAccountCert-upload
cloudAccountResources-get
cloudAccount-create
cloudAccount-delete
cloudAccount-get
cloudAccount-getAll
cloudAccount-update
credaccount-object