• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

403 - Permission denied issues during update user

New Here ,
Feb 11, 2020 Feb 11, 2020

Copy link to clipboard

Copied

I am using a Developer account of Adobe Sign. I'm trying to manage users  and I was able to get/create users but I'm getting a permission denied issue when trying to update a user that has been created. The folloing images shows my apps enabled scopes

 

Screenshot from 2020-02-11 09-54-48.png

The requested scopes are user_read:account+user_write:account and here's a curl command of the request I'm making

 

curl --location --request PUT 
  'https://secure.na2.echosign.com/api/rest/v5/users/3AAABLblqZhABXYAUtR7IMFub4C36ml- 
  NeytlVD1a1Z830OxXFs_fnuxJ4mKeeD1SnF9KSXOaYjJ55e1LtnQnJ0ifXcHd0y1j' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer REDACTED:)' \
  --data-raw '{
  "email": "wickenk+test2@gmail.com",
  "firstName": "Owen",
  "lastName":"Wicken",
  "groupId": "3AAABLblqZhBg4wwvtvLGE668ha7SF5aAecU0jPrlex2D1hwO6AAao_1aGuickwTmuz0-      
  k0bJcRzSQ6r-L3xkhoHGEVvZ3LHK",
  "roles": ["NORMAL_USER"]
}'

 


I'm receiving a 403 Permission Denied

 

{
    "code": "PERMISSION_DENIED",
    "message": "The API caller does not have the permission to execute this operation"
}

 

Am I using the wrong scopes or is my request formatted incorrectly in some way?

 

Thanks

TOPICS
SDK

Views

203

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation