diff --git a/bin/createUser.sh b/bin/createUser.sh index 56ecc14..bae7cbd 100755 --- a/bin/createUser.sh +++ b/bin/createUser.sh @@ -691,7 +691,7 @@ EOF curl -s -X PUT "https://${URL_AGORA}/api/v4/teams/\${TEAM_ID}/members/\${USER_ID}/roles" \ -H "Authorization: Bearer ${mattermost_token}" \ -H "Content-Type: application/json" \ - -d '{"roles":"team_admin"}' + -d '{"scheme_admin": true , "scheme_user": true }' EOF