Update voice dialing permissions inheritance for the sub-account

POST /v1/Settings

Update voice dialing permissions inheritance for the sub-account

application/x-www-form-urlencoded

Body

  • DialingPermissionsInheritance boolean

    true for the sub-account to inherit voice dialing permissions from the Master Project; otherwise false.

Responses

  • 202 application/json

    Accepted

    Hide headers attributes Show headers attributes
    • Access-Control-Allow-Origin string

      Specify the origin(s) allowed to access the resource

    • Access-Control-Allow-Methods string

      Specify the HTTP methods allowed when accessing the resource

    • Access-Control-Allow-Headers string

      Specify the headers allowed when accessing the resource

    • Access-Control-Allow-Credentials boolean

      Indicates whether the browser should include credentials

    • Access-Control-Expose-Headers string

      Headers exposed to the client

    Hide response attributes Show response attributes object
    • dialing_permissions_inheritance boolean | null

      true if the sub-account will inherit voice dialing permissions from the Master Project; otherwise false.

    • url string(uri) | null

      The absolute URL of this resource.

POST /v1/Settings
curl \
 --request POST 'https://voice.twilio.com/v1/Settings' \
 --user "username:password" \
 --header "Content-Type: application/x-www-form-urlencoded" \
 --data 'DialingPermissionsInheritance=true'
Request example
{"DialingPermissionsInheritance"=>true}
Response examples (202)
{
  "url": "https://voice.twilio.com/v1/Settings",
  "dialing_permissions_inheritance": true
}