Auth

get

Login methods

Authorizations
sessionidstringOptional

Log in using the POST /api/v1/auth/ endpoint

Responses
200

Success: Login methods

application/json
get
/api/v1/auth/
GET /api/v1/auth/ HTTP/1.1
Host: /
Accept: */*
200

Success: Login methods

{
  "username_password_enabled": true,
  "oidc_providers": [
    {
      "provider": "text",
      "url": "text"
    }
  ]
}
post

Sign in as Syntho user

Authorizations
sessionidstringOptional

Log in using the POST /api/v1/auth/ endpoint

Body
emailstring · email · max: 255Required
passwordstring · min: 8 · max: 64Required
Responses
post
/api/v1/auth/
POST /api/v1/auth/ HTTP/1.1
Host: /
Content-Type: application/json
Accept: */*
Content-Length: 44

{
  "email": "[email protected]",
  "password": "text"
}
{
  "new_password_required": true,
  "pk": 1
}
delete

Sign out

Authorizations
sessionidstringOptional

Log in using the POST /api/v1/auth/ endpoint

Responses
200

Success: Session Deleted

application/json
delete
/api/v1/auth/
DELETE /api/v1/auth/ HTTP/1.1
Host: /
Accept: */*
{
  "status": "OK"
}

Last updated

Was this helpful?