---
title: "User login"
method: POST
path: "/api/v1/login"
tags: ["User"]
---

# User login

`POST /api/v1/login`

User login and return access token with cookie.

## Request body

- ParamLoginParam
  - `password` string
  - `username` string

## Response `200`

OK

- ResponseAPIResponse
  - `data` unknown
  - `message` string
  - `successful` boolean

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api.md) · [All operations](https://skmtc.dev/oceanbase/apis/oceanbase-dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oceanbase/oceanbase-dashboard-api/revisions/643ae3c8d824/schema)
