Subaccount
https://api.plivo.com/v1/Account/{auth_id}/Subaccount/
required
string
A human-readable name for the subaccount.
boolean
Specifies whether the subaccount should be enabled. Takes a value of true or false. Defaults to false.
true
false
import plivo client = plivo.RestClient('<auth_id>','<auth_token>') response = client.subaccounts.create( name='Wayne Enterprises Subaccount', enabled=True, ) print(response)
{ "api_id": "324a7dd8-0db2-11e4-8a4a-123140008edf", "auth_id": "SA2025RK4E639VJFZAMM", "auth_token": "MTZjYWM0YzVjNjMwZmVmODFiNWJjNPJmOGJjZjgw", "message": "created" }