chore(docs): Updated API Reference (v2) (#9148)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a63f6910d0
commit
56ee4d6aad
@@ -0,0 +1,2 @@
|
||||
curl -X POST '{backend_url}/auth/token/refresh' \
|
||||
-H 'Authorization: Bearer {token}'
|
||||
@@ -1 +1 @@
|
||||
curl -X POST '{backend_url}/auth/user/{auth_provider}'
|
||||
curl -X POST '{backend_url}/auth/user/github'
|
||||
@@ -1 +1 @@
|
||||
curl -X POST '{backend_url}/auth/user/{auth_provider}/callback'
|
||||
curl -X POST '{backend_url}/auth/user/github/callback?code=123'
|
||||
@@ -1 +1,6 @@
|
||||
curl -X POST '{backend_url}/auth/user/{auth_provider}/register'
|
||||
curl -X POST '{backend_url}/auth/user/emailpass/register' \
|
||||
-H 'Content-Type: application/json' \
|
||||
--data-raw '{
|
||||
"email": "admin@medusa-test.com",
|
||||
"password": "supersecret"
|
||||
}'
|
||||
Reference in New Issue
Block a user