Password Auth

POST /auth/password
application/json

Body Required

Responses

  • 200 application/json

    Successful Response

    Hide response attributes Show response attributes object
  • 422 application/json

    Validation Error

    Hide response attribute Show response attribute object
    • detail array[object]
      Hide detail attributes Show detail attributes object
POST /auth/password
curl \
 -X POST https://metropolitanabolivia.org/auth/password \
 -H "Content-Type: application/json" \
 -d '{"username":"string","password":"string"}'
Request example
{
  "username": "string",
  "password": "string"
}
Response examples (200)
{
  "accessToken": "string",
  "tokenType": "string",
  "user": {}
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}