--- title: "change OAUTH2 access token()" slug: "basic-change-oauth-2-access-token" updated: 2026-08-11T06:53:50Z published: 2026-08-11T06:53:50Z canonical: "docs.lobstersoftware.com/basic-change-oauth-2-access-token" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # change OAUTH2 access token() Changes the OAuth2 Access Token of the given "HTTP" Channel **a** to the new token **b**. Returns "true" for success, "false" otherwise. **NOTE:** After successful execution of the function you will find the new token in the additional IDs of the channel, in obfuscated form. The expiration time of the token is not changed. ## Parameters | Parameter | Description | | --- | --- | | a | HTTP channel ID. | | b | New token. | ## Example | Parameter a | Parameter b | Result | Remarks | | --- | --- | --- | --- | | 123456 | myNewToken | true | | | 0 | myNewToken | false | Invalid channel ID. | | 123456 | | false | Invalid token (empty). | A central data record in partner management that consolidates the connection parameters for a communication partner, such as the URL, access credentials, and protocol. Changes to a channel immediately affect all profiles, ASM entries, and content inspection entries that use that channel.