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"
]
}
Update certain settings for an organization – Reseller/Partner only.
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"
]
}
Vida API Token
Target Organization Id to update settings for
At least one setting was successfully updated
The response is of type object
.