auth0 users blocks list <user-id> and auth0 users blocks unblock <user-id> should allow name and email as indefier #804
Labels
feature request
A feature has been asked for or suggested by the community
good first issue
Good for newcomers
Checklist
Description
Unblock user should be possible also via username and user email. currently only user id is possible.
management API uses additional identifiers:
Get blocks by identifier
Retrieve a list of blocked IP addresses for a given identifier (e.g., username, phone number or email).
Endpoint
GET /api/v2/user-blocks
Expectation
the cli is consitent with management api
Reproduction
give command
auth0 users blocks list [email protected]
should return blocks for given user
but returning error:
failed to list user blocks for user with ID [email protected]: 400 Bad Request: Path validation error: 'Object didn't pass validation for format user-id: [email protected]' on property id (user_id of the user blocks to retrieve).
Auth0 CLI version
1.0.1
The text was updated successfully, but these errors were encountered: