Not able to create app users as co-admins using API or SDK

Highlighted
First-time Contributor

Not able to create app users as co-admins using API or SDK

Hi,

 

I am not able to pass { "role": "coadmin" } while creating a new App User using Postman. I get a "400: Bad Request" for the new user POST request and when I try to update an existing App User using PUT, I get "403:

Access denied - insufficient permission". I have tried doing this using the AdminClient through the C# SDK and faced the same issue.

 

I am doing these operations using an admin token so I don't know what's it complaining about.

 

Also, I cannot see the Co-Admin checkbox on the "Edit User Access permissions" dialog box.

 

Note: This is being done through a developer sandbox account.

Tags (3)
1 REPLY 1
Highlighted
Box Employee

Re: Not able to create app users as co-admins using API or SDK

Hey @CPDeveloper 

An app user cannot be a coadmin. A managed user could be updated to a coadmin or another service account could be made which still requires approval. 

I'll update our documentation to better convey this.