Skip to main content
POST
Show or set whose account an agent uses for a provider: owner, person-asking or shared

Body

application/json
agent
string
required

Agent id

provider
string
required

Provider id (google)

execute
boolean

Actually switch to person-asking or shared; default is a dry-run that only shows the plan (exit 3). owner applies immediately

mode
enum<string>

owner (default) | person-asking | shared; omit to show the current mode

Available options:
owner,
person-asking,
person_asking,
shared

Response

Success — body conforms to the @Returns schema.

agentId
string
required
changed
boolean
required
label
string
required
mode
enum<string>
required
Available options:
owner,
person_asking,
shared
previousMode
enum<string>
required
Available options:
owner,
person_asking,
shared
provider
string
required