---
title: "POST /login"
method: POST
path: "/login"
---

# POST /login

`POST /login`

This API is used to login into auth server.
<table>
  <tr>
  <th>Field</th>
  <th>Possible values</th>
  <th>Mandatory/Optional</th>
  </tr>
  <tr>
    <td>username</td>
    <td>admin</td>
    <td>Mandatory</td>
   </tr>
   <tr>
    <td>password</td>
    <td>pass123</td>
    <td>Mandatory</td>
  </tr>
</table>

## Request body

- object

## Response `200`

OK

- object

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/litmuschaos/apis/litmus-portal-authentication-api.md) · [All operations](https://skmtc.net/litmuschaos/apis/litmus-portal-authentication-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/litmuschaos/litmus-portal-authentication-api/revisions/2c5524204359/schema)
