I am trying to change the Account Settings by API and i am receiving this error:
{
code: 4711,
message: 'Invalid access token, does not contain scopes:[account:update:settings:master].'
}
I already add this scope to my App, it show in my scopes list in oauth after generate the token:
"scope": "user:read:user:admin meeting:read:meeting:admin meeting:update:livestream:admin meeting:update:livestream_status:admin meeting:read:chat_message:admin meeting:update:livestream:master meeting:update:livestream_status:master account:update:settings:admin **account:update:settings:master** team_chat:read:list_members:admin team_chat:write:members:admin team_chat:read:list_user_messages:admin team_chat:read:channel:admin team_chat:read:user_message:admin team_chat:read:user_channel:admin imchat:bot app:channel_content:write:admin",
But i am continue to get this same erro every time.
The request sent is
curl --location --request PATCH 'https://api.zoom.us/v2/accounts/wUeXxOgtSrapUHNHzAWssA/settings' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"live_streaming": {
"enable": true,
"custom_service": {
"enable": true
}
}
}'