Exchange service account token

Exchanges service account token for DataLens access token.

Request

POST

http://<хост_on-premises>/rpc/exchangeServiceAccountToken

Headers

Name

Description

x-dl-api-version

Type: string

API version header.

Const: 2

Example: 2

Body

application/json
{
  "saToken": "example"
}

Name

Description

saToken

Type: string

Service account token

Example: example

Responses

200 OK

Response

Body

application/json
{
  "accessToken": "example"
}

Name

Description

accessToken

Type: string

Service account access token

Example: example