Auth
- PUTUpdate current user password
- POSTAuthenticate user by oauth provider token
- GETGet list of active sessions
- DELDelete all active sessions
- DELDelete active session
- POSTAuthenticate user by username(email) and password
- DELInvalidate current JWT token session or invalidate all sessions
- POSTVerify Sign-up email
- PUTUpdate sub user password
Media
Statistics
Auth
Authenticate user by username(email) and password
POST
/
frontend
/
api
/
v1
/
auth
/
sign-in
Copy
Ask AI
curl --request POST \
--url https://{host}/frontend/api/v1/auth/sign-in \
--header 'Content-Type: application/json' \
--data '{
"current-user": null,
"email": "jsmith@example.com",
"logout-other": false,
"long-term-token": true,
"password": "<string>",
"ret-url": null
}'
Copy
Ask AI
{
"api-token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"current-user": null,
"email": "<string>",
"jwt-token": {
"expire": "2024-11-01T16:39:02Z",
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzzzz-zzzzzzzzzzzzzzzzzzzzzzz"
},
"oauth-provider-tokens": [
{
"provider": "<string>",
"token": "<string>"
}
],
"ret-url": null,
"status": "anonymous",
"user-id": 1
}
Body
Response
200 - application/json
OK
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://{host}/frontend/api/v1/auth/sign-in \
--header 'Content-Type: application/json' \
--data '{
"current-user": null,
"email": "jsmith@example.com",
"logout-other": false,
"long-term-token": true,
"password": "<string>",
"ret-url": null
}'
Copy
Ask AI
{
"api-token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"current-user": null,
"email": "<string>",
"jwt-token": {
"expire": "2024-11-01T16:39:02Z",
"token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy.zzzzzzzzzzzzzzzzzzz-zzzzzzzzzzzzzzzzzzzzzzz"
},
"oauth-provider-tokens": [
{
"provider": "<string>",
"token": "<string>"
}
],
"ret-url": null,
"status": "anonymous",
"user-id": 1
}
Assistant
Responses are generated using AI and may contain mistakes.