Update the HubSpot integration

Changes which HubSpot content the project syncs (JSON merge-patch; lists are replaced as a whole). New path_filters start a sync of the default branch right away; new enabled_content_types are saved and apply from the next sync. A sync imports newly selected content and removes content that is no longer selected. Requires stack-level settings management permission.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^pr_[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$

Public id that is created from the type prefix of the corresponding resource and its UUID. I.e : For a project, a valid value would be : pr_0197c8f2-5a6b-7cde-8f12-3456789abcde

Body Params

Request body to change which HubSpot content a project syncs (JSON merge-patch; lists are replaced as a whole).

enabled_content_types
array of objects
length between 1 and 100

The kinds of HubSpot content the project syncs. Saved and applied from the next sync.

enabled_content_types
Allowed:
path_filters
array of objects
length ≤ 1000

The content the project syncs, matched against content paths; empty for none. A change starts a sync of the default branch.

path_filters
Headers
string

Optional precondition. Send the quoted ETag from a GET of this resource. The mutation only runs if a strong tag matches the current representation, checked under the write lock. A comma-separated list is allowed; '*' requires an existing representation. Weak tags never match. Omit this header for an unconditional write. For an action, use the ETag from GET of the target resource, without the action suffix. A stale tag returns 412; read the current state before retrying.

string
enum
Defaults to application/json

Generated from available response content types

Allowed:
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json