Hub
All hub methods respond with a promise.
Fetch authenticated hub's information.
api.fetchHub().then((hub) => {
console.log(hub.name); // hubdot
});Delete authenticated hub.
api.deleteHub();Update authenticated hub's configuration.
api.updateHub({
"name": "hubdot",
"placeId": "123456",
"theme": "unuslight",
"music": [
12345,
67890
]
});Last updated
Was this helpful?