POST
/2010-04-01/Accounts/{Sid}.jsonUpdate an account
Updates properties of a specific account. Supply FriendlyName, Status, or both to change the account; a 409 response indicates that another request modified the account concurrently.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Sidstringrequired
The account's unique SID. Must be 34 characters, starting with `AC` followed by 32 hexadecimal characters.
Optional account properties to update.
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 object, including its SID, status, type, friendly name, dates, and available subresource URIs.
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.
codeintegeroptional
Twilio-specific error code
messagestringoptional
Error message
more_infostringoptional
Link to Error Code References
statusintegeroptional
HTTP response status code
Error handling
A 409 is returned when another request modified the account concurrently. Status must be active, suspended, or closed when provided. The Sid path parameter must be exactly 34 characters and match the account SID format AC followed by 32 hexadecimal characters.