get https://api.twilio.com/2010-04-01/Accounts/.json
This endpoint allows you to change the status of a subaccount using the Status
query parameter.
The three main Status
of a subaccount are:
- suspended: A suspended account cannot make or receive phone calls or send and receive SMS messages. This is useful when you want to suspend a customer's account for not paying their bill until they make a successful payment.
- active: To reactivate a suspended account, change the status parameter to
active
. Twilio will restore the account to its full service. - closed: If your customer closes their account with you, you can permanently close the associated Twilio subaccount by changing the Status parameter to
closed
.