Skip to main content
PATCH
Change who may sign in to a portal

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

portal_id
string<uuid>
required

The portal's id, as GET /v1/portals (or the portal_list MCP tool) returns it

Body

application/json
external
boolean | null

Let external people in through grants. Left out: unchanged

internal
boolean | null

Let people of your own company in. Left out: unchanged

Response

200 - application/json

Successful Response

external
boolean
required

External people get in when a grant admits them

internal
boolean
required

People of your own company get in