Skip to main content
Question

API upload file as someone else?

  • May 21, 2025
  • 3 replies
  • 20 views

Forum|alt.badge.img

Hi,

 

I've been tasked to decommission our old (and no longer utilised) Document management system (Objective, only historical data in it).

 

My question is whether there's a way to upload a series of roughly 30K documents programmatically in such a manner that they don't appear to be owned by me when I'm done, but rather either w/ the actual owner (if they still work w/ us) or with their successor (or team lead).

 

Cheers,

Andrej

3 replies

Forum|alt.badge.img

Hello ,

 

when an APP is created it allows to enable two specific features:

- Perform actions as Users

- Generate user access tokens

 

Both of them allow you to make actions in name of any user. In theory it is stated that it is for development purposes but I understand can be used in PROD if everybody accepts that on the company.

 

Btw, for the first option it is needed (I think) that box enables a specific flag. For the second one you only need to authenticate with JWT and indicate which user are you using.

 

Regards

 

 


Forum|alt.badge.img

Thanks LoCortes!


Forum|alt.badge.img

A pleasure 😉