We are performing box JWT integration with sub_type='enterprise'. Now we want to upload the file in a folder as a another user. The user is owner of the folder. Setting userId as "req.addHeader('as-user','*******');"
Below is the request I am posting :
String boundary = '----------------------------741e90d31eff';
HttpRequest req = new HttpRequest();
req.setHeader('Authorization', 'Bearer ' + accessToken);
Also Below is the screenshot of the app configuration. We also tried with generate token enabled but it was not helpful.
Please sign in to leave a comment.