Update an account
Update an account for a given account_id. The ID can be replaced with me to update the account that performs the request. To set a role for an account, you need the accounts.roles--all:rw scope.
accounts--all:rw, accounts.roles--all:rwAuthorizations
Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.
Path Parameters
The unique account ID, or me to refer to the account making the request.
Body
An entity of the account, used across all Text products.
The account's email address.
128The account name (nick; first name, second name, or both).
191The default product for the account.
LiveChat, Accounts, ChatBot, HelpDesk, OpenWidget The ID of the default organization the account belongs to.
The "Account's avatar" field has been deprecated and is no longer recommended for use; instead, the avatar functionality has been relocated to the account organization settings.
255Roles associated with the account; returned only when the access token contains the accounts.roles--all:ro scope.
Response
OK: Returns the updated account.
An entity of the account, used across all Text products.
The account's email address.
128Unique account identifier.
The account name (nick; first name, second name, or both).
191If true: the account's email was verified via an email action or by a third-party identity provider.
The default product for the account.
LiveChat, Accounts, ChatBot, HelpDesk, OpenWidget The ID of the default organization the account belongs to.
The "Account's avatar" field has been deprecated and is no longer recommended for use; instead, the avatar functionality has been relocated to the account organization settings.
255Roles associated with the account; returned only when the access token contains the accounts.roles--all:ro scope.
The date of the account's last update.
The date the account was created.