Modify the properties of a given Account
Twilio accounts (aka Project) or subaccounts
Modify the properties of a given Account
Path parameters
-
The Account Sid that uniquely identifies the account to update
Body
-
FriendlyName string
Update the human-readable description of this Account
-
Status string
Alter the status of this account: use
closed
to irreversibly close this account,suspended
to temporarily suspend it, oractive
to reactivate it.Values are
active
,suspended
, orclosed
.
POST /2010-04-01/Accounts/{Sid}.json
curl \
-X POST https://api.twilio.com/2010-04-01/Accounts/{Sid}.json \
--user "username:password" \
-H "Content-Type: application/x-www-form-urlencoded" \
-d 'FriendlyName=string&Status=active'
Request example
{
"FriendlyName": "string",
"Status": "active"
}
Request examples
{
"FriendlyName": "string",
"Status": "active"
}
Response examples (200)
{
"auth_token": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"owner_account_sid": "string",
"sid": "string",
"status": "active",
"subresource_uris": {},
"type": "Trial",
"uri": "https://example.com"
}
Response examples (200)
{
"auth_token": "string",
"date_created": "string",
"date_updated": "string",
"friendly_name": "string",
"owner_account_sid": "string",
"sid": "string",
"status": "active",
"subresource_uris": {},
"type": "Trial",
"uri": "https://example.com"
}