diff --git a/www/apps/api-reference/app/_mdx/admin.mdx b/www/apps/api-reference/app/_mdx/admin.mdx index 2dc1a7dda5..314eca9aad 100644 --- a/www/apps/api-reference/app/_mdx/admin.mdx +++ b/www/apps/api-reference/app/_mdx/admin.mdx @@ -47,7 +47,7 @@ JWT tokens are obtained by sending a request to the authentication route passing For example: ```bash -curl -X POST '{backend_url}/auth/admin/emailpass' \ +curl -X POST '{backend_url}/auth/user/emailpass' \ -H 'Content-Type: application/json' \ --data-raw '{ "email": "user@example.com", diff --git a/www/apps/api-reference/app/_mdx/store.mdx b/www/apps/api-reference/app/_mdx/store.mdx index 52164214f7..901d626a3a 100644 --- a/www/apps/api-reference/app/_mdx/store.mdx +++ b/www/apps/api-reference/app/_mdx/store.mdx @@ -48,7 +48,7 @@ JWT tokens are obtained by sending a request to the authentication route passing For example: ```bash -curl -X POST '{backend_url}/auth/store/emailpass' \ +curl -X POST '{backend_url}/auth/customer/emailpass' \ -H 'Content-Type: application/json' \ --data-raw '{ "email": "user@example.com",