Skip to main content

Hello all! I've been developing some micro-services that will need to interface directly with the Box API to programmatically add new client folders and documents. Everything is working correctly as intended and I'm excited to begin using the newly authorized Box App in my enterprise; however, I hit a problem with changing the app's name.

 

My team and I had a poll, and the result was to change the name of the application. I made the change in Dev Console and my Box admin reauthorized the app; however, I'm not seeing those changes propagating. If I go to the service account's profile, it still displays the old name, but in the admin console it displays as the correct name. If I programmatically get the user from the sdk:

 

auth = JWTAuth(
# Auth here
)
auth.authentication_instance()

client = Client(auth)
print(client.user().get())

#

This app has been reauthorized. It displays correctly in the admin and dev console. Are there any additional steps I should follow?



 the service account gets the application name when it is created, but it is not automatically synced when you update the application name. 


 


Now the good news is that the service account is just a user, so you can change its name using the usual /user endpoints. I hope this helps.




Thanks ! I guess I'll have to request for that "Manage Users" scope again, but that's fine. Quick question: is there a way I can update the profile picture for the service account? I don't see a way to do that with the Python SDK, unless I'm mistaken?




I don't think this is currently possible . What exactly is the reason you want to do this?




 It's not crucial, we just wanted some customization for our app. Thanks for your help!



Reply