change OAUTH2 access token(a,b)
|
Group |
Changes the OAuth2 access token of given HTTP(S) channel to the new one. Returns true for success, false otherwise.
Description of Parameters
|
Parameter |
Description |
|
a |
HTTP(S) channel ID. |
|
b |
New token. |
Example
|
Parameter a |
Parameter b |
Result |
Remark |
|
123456 |
myNewToken |
true |
|
|
0 |
myNewToken |
false |
Invalid channel ID. |
|
123456 |
false |
Invalid token (empty). |