# Create an administrator session

Canonical: https://docs.shumoku.dev/ja/server/0.1.6-beta.5/api/postAuthLogin
Language: ja
Server documentation version: 0.1.6-beta.5
Product version: 0.1.6-beta.5
Channel: beta

このドキュメントはServerのプレリリース版を対象としています。

Shumoku Server API · 0.1.6-beta.5 · Authentication

# Create an administrator session

[OpenAPIソース](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.1.6-beta.5/apps/server/api/openapi.json)

APIの説明は英語のOpenAPI canonical sourceを表示しています。

```
POST /api/auth/login
```

## 認証

なし

## リクエストボディ

`PasswordRequest` · application/json · 必須

## レスポンス

| ステータス | 説明 | スキーマ |
| --- | --- | --- |
| `200` | Operation completed | `AuthSuccess` |
| `400` | The request did not match the API contract | `Error` |
| `401` | The password is invalid | `Error` |
| `429` | Too many login attempts | `Error` |

[`apps/server/api/openapi.json`](https://github.com/konoe-akitoshi/shumoku/blob/server-v0.1.6-beta.5/apps/server/api/openapi.json)
