boxcli
boxcli copied to clipboard
List App User using External App User ID
- [X ] I have checked that the SDK documentation doesn't solve my issue.
- [ X] I have checked that the API documentation doesn't solve my issue.
- [X ] I have searched the Box Developer Forums and my issue isn't already reported (or if it has been reported, I have attached a link to it, for reference).
- [X ] I have searched Issues in this repo and my issue isn't already reported.
Description of the Issue
Reference: Box Documentation
The CLI doesn't support getting a Box App User using the param external_app_user_id
which is documented in the API. This works in the REST call.
curl --location --request GET 'https://api.box.com/2.0/users?external_app_user_id=<external_app_user_id>' --header 'Authorization: Bearer <token>'
Steps to Reproduce
- Create app user with an external app user id
box users:create TESTTTTTTT --app-user --external-id "11111"
- Query via the curl request using that external app user id
curl --location --request GET 'https://api.box.com/2.0/users?external_app_user_id=11111' --header 'Authorization: Bearer <token>'
Expected Behavior
User matching the external_app_user_id will be returned
Error Message, Including Stack Trace
Screenshots
Versions Used
Box CLI: 2.9 Operating System: macOS Big Sure
This issue has been automatically marked as stale because it has not been updated in the last 30 days. It will be closed if no further activity occurs within the next 7 days. Feel free to reach out or mention Box SDK team member for further help and resources if they are needed.
This issue has been automatically closed due to maximum period of being stale. Thank you for your contribution to Box CLI and feel free to open another PR/issue at any time.