---
title: "Perform administrator log-in"
method: POST
path: "/login"
tags: ["global"]
---

# Perform administrator log-in

`POST /login`

## Request

- Base URL: `/control` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/control/login`
- Auth: HTTP basic

## Request body

- Login: Login request data
  - `name` string: User name
  - `password` string: Password

## Response `200`

OK.

## Other responses

- `400`: Invalid username or password.
- `429`: Out of login attempts.

---

[API](https://skmtc.dev/guardllamanet/apis/adguard-home.md) - [All operations](https://skmtc.dev/guardllamanet/apis/adguard-home/llms.txt) - [OpenAPI document](https://skmtc.dev/guardllamanet/apis/adguard-home/revisions/14ff21aeb363?raw)
