POST
/2010-04-01/Accounts/{Sid}.jsonUpdate an account
Updates the properties of a specific Account. Supply the Account SID in Sid and send any account properties you want to modify, including the optional FriendlyName or Status.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Sidstringrequired
The unique Account SID to update. Must be exactly 34 characters and match `^AC[0-9a-fA-F]{32}$`.
Account properties to update using form-encoded fields.
FriendlyNamestringoptional
Update the human-readable description of this Account
Statusstringoptional
The status of this account. Usually `active`, but can be `suspended` or `closed`.
200Returns the updated Account resource, including its current properties, status, timestamps, authorization token, and resource URI.
auth_tokenstringoptional
The authorization token for this account. This token should be kept a secret, so no sharing.
date_createdstringoptional
The date that this account was created, in GMT in RFC 2822 format
date_updatedstringoptional
The date that this account was last updated, in GMT in RFC 2822 format.
friendly_namestringoptional
A human readable description of this account, up to 64 characters long. By default the FriendlyName is your email address.
owner_account_sidstringoptional
The unique 34 character id that represents the parent of this account. The OwnerAccountSid of a parent account is it's own sid.
sidstringoptional
A 34 character string that uniquely identifies this resource.
statusstringoptional
The status of this account. Usually `active`, but can be `suspended` or `closed`.
subresource_urisobjectoptional
A Map of various subresources available for the given Account Instance
typestringoptional
The type of this account. Either `Trial` or `Full` if it's been upgraded
uristringoptional
The URI for this resource, relative to `https://api.twilio.com`
409Returned when the Account was modified by another request while this update was being processed.
codeintegeroptional
Twilio-specific error code
messagestringoptional
Error message
more_infostringoptional
Link to Error Code References
statusintegeroptional
HTTP response status code
Error handling
Sid must be exactly 34 characters and match the Account SID format AC followed by 32 hexadecimal characters. Status must be one of active, suspended, or closed when supplied. A 409 is returned when another request modified the account concurrently.