- URL:https://[root]/portals/[portalID]/certificates/[certificateID]/update(POST only)
Example usage
Below is a sample ArcGIS Online POST request for the update operation:
Note:
A placeholder has been used for the certificate parameter's input:
POST /sharing/rest/portals/0123456789ABCDEF/certificates/adzf7nGZD1XCnyph/update HTTP/1.1
Host: org.arcgis.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
name=orgCert&domain=domain.com&certificate=...
Description
The update HTTPS certificate operation (POST only, HTTPS only) allows organization administrators to update a registered custom X.509 HTTPS certificate.
Note:
This operation is only available for ArcGIS Online organizations.
Request parameters
Parameter | Details |
---|---|
name | Name for the registered certificate. Example
|
domain | Server domain that the certificate is used for. Example
|
certificate | Base64-encoded certificate text, enclosed between -----BEGIN CERTIFICATE----- and -----END CERTIFICATE-----. |
Response properties
Property | Details |
---|---|
success | Indicates if the operation was successful. |
certificateId | Id of the registered certificate. |
JSON Response syntax
{
"success": true,
"certificateId": "<certificateId>"
}
JSON Response example
{
"success": true,
"certificateId": "adzf7nGZD1XCnyph"
}