docs: fix auth routes in api reference (#8187)
This commit is contained in:
@@ -47,7 +47,7 @@ JWT tokens are obtained by sending a request to the authentication route passing
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -X POST '{backend_url}/auth/admin/emailpass' \
|
curl -X POST '{backend_url}/auth/user/emailpass' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
"email": "user@example.com",
|
"email": "user@example.com",
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ JWT tokens are obtained by sending a request to the authentication route passing
|
|||||||
For example:
|
For example:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -X POST '{backend_url}/auth/store/emailpass' \
|
curl -X POST '{backend_url}/auth/customer/emailpass' \
|
||||||
-H 'Content-Type: application/json' \
|
-H 'Content-Type: application/json' \
|
||||||
--data-raw '{
|
--data-raw '{
|
||||||
"email": "user@example.com",
|
"email": "user@example.com",
|
||||||
|
|||||||
Reference in New Issue
Block a user