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

# login

`POST /user/login`

## Request body

- ApiLogin
  - `password` string
  - `username` string

## Response `200`

OK

- ApiTokenResult
  - `code` integer
  - `expire` string
  - `token` string

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.dev/federatedai/apis/kubefate-service-api.md) · [All operations](https://skmtc.dev/federatedai/apis/kubefate-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/federatedai/kubefate-service-api/revisions/01a50f79e50f/schema)
