POST
/
api
/
v2
/
updateOrganization
curl --request POST \
  --url https://api.vida.dev/api/v2/updateOrganization \
  --header 'Content-Type: application/json' \
  --data '{
  "productPlanId": "someProductPlanId",
  "offeredProductPlanId": "someProductPlanId",
  "email": "admin@test.com",
  "orgName": "Test Organization",
  "smsEnabled": true,
  "smsBrandId": "XXXXXX",
  "smsCampaignId": "XXXXXX",
  "vidaPremium": true,
  "externalAccountId": "AC_XXXXXXX",
  "externalBillingId": "somebillingId"
}'
{
"success": true,
"message": "Organization settings updated",
"updatedSettings": [
"productPlanId",
"externalBillingId"
]
}

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetOrganizationId
string
required

Target Organization Id to update settings for

Body

application/json

Response

200
application/json

At least one setting was successfully updated

The response is of type object.