Menu
Validate Custom Hostname
Trigger the validation of a custom hostname.
PATCH
/organizations/{organizationId}/zones/{zoneId}/certificates/custom-hostnames/{customHostnameId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Validate Custom Hostname action (under Zones (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{validateCustomHostname.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{validateCustomHostname.response.data.<field>}}.
{
"data": {
"customHostnameId": "a439eb1f-5e71-4544-bb29-54d18ax62277",
"customHostname": "test.example.com",
"customHostnameVerificationTXTName": "_acme-challenge.test.example.com",
"customHostnameVerificationTXTValue": "DBCtxdyQSyo9eXxys-uGVCwPFHLsc8_lu11QetQz4IA",
"customHostnameStatus": "ACTIVE"
}
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?