Browse the help center

Change invocation code domain

Changes the invocation code domain (the host used in placement invocation code snippets) for the specified site.

Reference
POST https://YOUR-NETWORK-DOMAIN/rest-api/sites/{siteId}/changeInvocationCodeDomain.do

Changes the invocation code domain (the host used in placement invocation code snippets) for the specified site. Pass null for the host parameter to reset to the system default domain. Requires ALL or SHARED level UPDATE permission on INVENTORY and the INVOCATION_CODE_DOMAIN permission must be enabled. SSP sites cannot have their domain changed.

Path Params

siteId integer required

Unique numeric ID of the site

5001

Form Params

host string

Invocation code host name to set, or null to reset to system default

cdn.example.com

Responses

200

Invocation code domain updated successfully

400

Bad request — invalid or missing parameters

401

Authentication error

403

No permission for this operation

404

Site or domain not found

Please disable Adblock
Are you using adblock? Disable it and reload the page to proceed to the destination page.

A registration has already been submitted from this page. Please try again in 10 minutes.