Skip to content

List App User using External App User ID #251

@jacquesvandermerwe

Description

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

Metadata

Metadata

Labels

bugdontstaleFor stalebot to keep the issue open

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions