Skip to main content
POST
SetConnectionScopeAPI mirrors the erdo_set_connection_scope MCP tool.

Authorizations

Authorization
string
header
required

An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).

Path Parameters

integrationID
string<uuid>
required

Body

application/json
account_id
string

Response

Success response

description
string

connection manages." Empty when this integration does not scope a connection to an account, in which case Options and Selected are empty too.

has_connection_scope
boolean

account per connection at all. False for a database or a Pipedream app, where there is nothing to choose.

integration_id
string
options
ConnectionAccountOption is one account a connection could operate. · object[]
required
boolean

is chosen. It describes a consequence, not a gate: connecting without choosing is allowed and expected, because an account may not exist yet when the connection is made.

selected
ConnectionAccountOption is one account a connection could operate. · object[]

has been chosen.