boxcli icon indicating copy to clipboard operation
boxcli copied to clipboard

List App User using External App User ID

Open jacquesvandermerwe opened this issue 3 years ago • 2 comments

  • [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

  1. Create app user with an external app user id box users:create TESTTTTTTT --app-user --external-id "11111"
  2. 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

jacquesvandermerwe avatar Jul 05 '21 16:07 jacquesvandermerwe

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.

stale[bot] avatar Aug 02 '22 21:08 stale[bot]

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.

stale[bot] avatar Aug 09 '22 22:08 stale[bot]