Skip to main content
PATCH
Update Disabled Functions

Headers

x-trackstar-api-key
string
required

Your organization-level Trackstar API key.

Example:

"<x-trackstar-api-key>"

x-trackstar-access-token
string
required

Your user's access token for a specific integration (ShipHero, Extensiv, etc).

Example:

"<x-trackstar-access-token>"

Body

application/json
disabled_functions
string[] | null
required

Function names to disable for this connection (e.g. ['get_orders']). This replaces the connection's full disabled set, it is not added to it. Pass an empty list to re-enable everything on this connection, or null to clear the connection setting and defer to your org's policy.

Response

Successful response

id
string
required

The id of the updated object.

Example:

"example-id-123"

object
string
required

The type of the object that was updated.

Example:

"connection"

updated
boolean
required

Whether or not the object was updated.

Example:

true