cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Who rated this post

L0 Member

I had similar issues w/ the endpoint documented on https://pan.dev/sdwan/api/put-sdwan-v-2-1-api-elementusers-user-id/

I enabled the developer tools in my browser and captured the network traffic HAR while doing the activity that I wanted within the GUI (I was messing w/ device toolkit users in StrataCloudManager for SDWAN portal).. when I isolated the PUT command and analyzed it with AI's help, we noticed some differences.. We tried different combinations of things and ultimately settled on this where base is what is documented..

Base + _etag + _schema + lowercase role ← ONLY THIS WORKS
======================================================================
TEST 5: Base + _etag + _schema + lowercase role (GUI format)
======================================================================
Payload: {
"id": "163060247<truncated>",
"is_tenant_level": false,
"login_id": "cgnx",
"role": "super",
"username": "cgnx",
"_etag": 25,
"_schema": 1
}
Status: 200
✓✓✓ SUCCESS with lowercase role!
Updated is_tenant_level: False


Moral of the story: capture your action in browser developer tools in the UI and let an AI figure out what the documentation lacks! 😉

Who rated this post