---
title: "Login the user"
method: POST
path: "/api/login"
tags: ["user"]
---

# Login the user

`POST /api/login`

Login the given user

## Response `200`

OK

- object
  - `user` string
  - `groups` string[]
  - `dba` boolean
  - `domain` string

## Other responses

- `401` — Wrong user or password

---

[API](https://skmtc.net/eeditiones/apis/tei-publisher-documentation-and-demo.md) · [All operations](https://skmtc.net/eeditiones/apis/tei-publisher-documentation-and-demo/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eeditiones/tei-publisher-documentation-and-demo/revisions/07216792837f/schema)
