Highlighted

403 - Permission denied issues during update user

New Here ,
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

65

Likes

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

403 - Permission denied issues during update user

New Here ,
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

66

Likes

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

Have something to add?

Join the conversation