Exchanges the current session for a JWT token scoped to a different partition
Use this endpoint in multi-tenant environments to obtain a token for accessing a different partition
without re-authenticating. Cannot be used with API key authentication — only bearer token or cookie sessions.
Request Headers
| Header | Value | Required | Description |
|---|---|---|---|
| ECI-ApiKey | string | Yes | Your API key. See Authentication. |
| Content-Type | application/json | Yes | All requests must specify JSON content type. |
Query Parameters
| Name | Description | Type | Required |
|---|---|---|---|
| partition | The target partition name to create the token for | string | Optional |
Responses
200
OK
The request succeeded and the response body contains the requested data.
Response Body Parameters
SingleValue
| Property | Description | Type |
|---|---|---|
| value | The computed value. The type and format depend on the endpoint returning it (e.g., an integer billing period in YYYYMM format). | object |
Example Response
{ "value": {}
}