Skip to content

Update app surface settings

PUT
/api/v1/apps/surfaces
curl --request PUT \
--url https://example.com/api/v1/apps/surfaces \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true, "surface": "notes" }'

Updates the app surface settings. It requires a signed-in User with the account scope. It can return 400 if the request is invalid, 401 if the session is missing or expired and 403 if access is denied. Route: /api/v1/apps/surfaces. Inputs: . Do not automatically replay this operation after an uncertain result.

Media typeapplication/json
object
enabled
required
boolean
surface
required

These gates protect external automation credentials. Browser sessions remain usable so a User can always restore their own access in Settings.

string
Allowed values: notes api cli mcp mcp_events webmcp
Media typeapplication/json
object
effective_enabled
required
boolean
instance_enabled
required
boolean
surface
required

These gates protect external automation credentials. Browser sessions remain usable so a User can always restore their own access in Settings.

string
Allowed values: notes api cli mcp mcp_events webmcp
user_enabled
required
boolean
Example
{
"surface": "notes"
}