Menu
Update Hub Settings
Update Hub Settings
PATCH
/hubs/{hubId}/settingsUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Update Hub Settings action (under Hubs).
- Fill in the fields below, then reference the result from later steps as
{{updateHubSettings.response.data}}.
Request
Path parameters
Request body
Enter the body as JSON in the step's Body field.
{
"publishing": {
"platforms": {
"amplience_dam": {
"API_KEY": "DAM_CLIENT_KEY",
"API_SECRET": "DAM_CLIENT_SECRET",
"endpoint": "endpoint"
}
}
},
"devices": [
{
"name": "New Device",
"width": 2048,
"height": 1024,
"orientate": false
}
],
"localization": {
"locales": [
"en-GB",
"fr-FR"
]
},
"applications": [
{
"name": "Preview Site",
"templatedUri": "http://example.com"
}
],
"previewVirtualStagingEnvironment": {
"hostname": "unique-id.staging.bigcontent.io"
},
"virtualStagingEnvironment": {
"hostname": "unique-id.staging.bigcontent.io"
},
"assetManagement": {
"enabled": false,
"clientConfig": "HUB"
},
"contentItems": {
"validation": {
"ignoreSchemaValidation": false
}
}
}
Response
Returns 204 with a any. Read it in later steps with {{updateHubSettings.response.data.<field>}}.
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?