POST
/
migrations
/
price_plan
Migrates accounts which are associated to one price plan to another price plan
curl --request POST \
  --url https://api.togai.com/migrations/price_plan \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "sourceId": "pp.1zYnCiM9Bpg.lv25y",
  "sourceVersion": 1,
  "targetId": "pp.2zYnCiM9Bpg.bfeu2",
  "targetVersion": 2,
  "migrationMode": "IMMEDIATE"
}'
{
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Payload to update organization setting

Request to migrate all account associations of a price plan to another price plan

Response

201
application/json

OK

The response is of type object.