PUT
/
api
/
v2
/
numberingProvider
Update an existing numbering provider
curl --request PUT \
  --url https://api.vida.dev/api/v2/numberingProvider \
  --header 'Content-Type: application/json' \
  --data '{
  "providerId": "Twilio",
  "default": true,
  "enabled": false,
  "config": {
    "accountSid": "ACxxxx",
    "authToken": "tokenxxxx"
  }
}'
{
  "success": true,
  "message": "Numbering provider updated"
}

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetOrganizationId
string
required

Target Organization Id to update settings for

Body

application/json
providerId
string
required
Example:

"Twilio"

default
boolean
Example:

true

enabled
boolean
Example:

false

config
object
Example:
{
"accountSid": "ACxxxx",
"authToken": "tokenxxxx"
}

Response

Numbering provider updated

success
boolean
Example:

true

message
string
Example:

"Numbering provider updated"