---
title: "POST /auth/session/login/"
method: POST
path: "/auth/session/login/"
tags: ["auth"]
---

# POST /auth/session/login/

`POST /auth/session/login/`

Session cookie login

## Request body

- Login
  - `username` string, required
  - `password` string, required

## Response `204`

Login successful.

## Other responses

- `403` — Invalid credentials or user is disabled.

## Changes

- **2024-04-23** `cbf68ddd9760` — 2 info
  - the endpoint scheme security `EDAJWTAuthentication` was added to the API
  - the endpoint scheme security `jwtAuth` was added to the API
- **2023-08-21** `c84b4813cab1` — 1 info
  - the endpoint scheme security `cookieAuth` was added to the API
- **2023-05-19** `f84d9240fdf2` — 1 info
  - the endpoint scheme security `cookieAuth` was removed from the API
- **2023-04-25** `62d33b790834` — 2 info
  - the endpoint scheme security `EDAJWTAuthentication` was removed from the API
  - the endpoint scheme security `jwtAuth` was removed from the API

[Change history](https://skmtc.dev/ansible/apis/event-driven-ansible-api/changes/auth/session/login/post.md)

---

[API](https://skmtc.dev/ansible/apis/event-driven-ansible-api.md) · [All operations](https://skmtc.dev/ansible/apis/event-driven-ansible-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ansible/event-driven-ansible-api/revisions/c04fc5f09692/schema)
