younifyd
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

  1. Add a step and choose the Salesforce Commerce Cloud connector.
  2. Pick the Validate Custom Hostname action (under Zones (Data API)).
  3. Fill in the fields below, then reference the result from later steps as {{validateCustomHostname.response.data}}.

Request

Path parameters

customHostnameIdstringrequired
zoneIdstringrequired
organizationIdstringrequired

An identifier for the organization the request is being made by

Response

Returns 200 with an object. Read it in later steps with {{validateCustomHostname.response.data.<field>}}.

dataobject

Custom hostname validation information.

customHostnameIdstringrequired

Identifier generated by the CDN provider for the custom hostname.

customHostnamestringrequired

Name of the custom hostname

customHostnameVerificationTXTNamestringrequired

Custom hostname verification txt name.

customHostnameVerificationTXTValuestringrequired

Custom hostname verification txt value.

customHostnameStatusstringrequired

Current status of the custom hostname.

One ofPENDINGACTIVEMOVEDDELETED

json
{
  "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?