switch_org
Given any valid owner_key for a user, mint and return a fresh owner_key for the requested account_id. The account_id must belong to the same email as the supplied owner_key. Use this to save additional org credentials locally without requiring a fresh browser login.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner_key | No | Any valid owner_key for this email. Optional. If omitted, defaults to the owner_key resolved from the connection's `Authorization: Bearer <owner_key>` header. | |
| account_id | Yes | The account_id of the org to switch to. Must belong to the same email. |