---
title: "PwdLogin"
method: POST
path: "/api/v1/auth/pwd-login"
tags: ["v1/auth"]
---

# PwdLogin

`POST /api/v1/auth/pwd-login`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/auth/pwd-login`
- Auth: API key in header `Authorization`

接口权限编码:v1:auth:pwdLogin

## Request body

- object
  - `password` string, required
  - `username` string, required

## Response `200`

OK

- object
  - `refreshToken` string
  - `token` string

## Changes

- **2026-07-17** `80c5cdf6eb39`: 3 info
  - api operation id `authPwdLogin` removed and replaced with `v1/AuthPwdLogin`
  - api tag `v1/auth` added
  - api tag `auth` removed
- **2025-09-28** `e1154be53c2c`: 3 info
  - api operation id `v1/AuthPwdLogin` removed and replaced with `authPwdLogin`
  - api tag `auth` added
  - api tag `v1/auth` removed

[Operation history](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api/changes/api/v1/auth/pwd-login/post.md)

---

[API](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api.md) - [All operations](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jzero-io/apis/jzero-io-jzero-admin-api/revisions/80c5cdf6eb39?raw)
