Run REST API on behalf of another user
General information
How it’s works
It’s simple, just add into REST API request new header parameter contextUser containing username in the context of which we want to execute REST API.
CURL example
See how use contextUser in unix curl command
Postaman example
See how use contextUser in Postman