Not able to update user role in community through API


I am trying to update a community role in swagger and pass my admin token in BearerAuth but it keeps on failing with authorization error. Right server region is selected from dropdown. See following curl

curl -X 'POST' \
  '' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "role": "moderator",
  "userIds": [
  "status": "error",
  "message": "Authorization info not found",
  "code": 400100,
  "data": {
    "detail": {
      "appErrorCode": 400100


Do you want to update the user from a ‘Member’ to a ‘Community Moderator’? If you want to change it to a Community Moderator, we recommend you try following the example curl below :

curl --location '' \
--header 'accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer xxx' \
--data '{
  "role": "community-moderator",
  "userIds": [

Can you please confirm if the admin token you’re using is generated from the console? If it is, we recommend using Postman, as Swagger can sometimes cause issues.

Best regards,

Support Team