---
title: "POST /core/users/account_lockdown/"
method: POST
path: "/core/users/account_lockdown/"
tags: ["core"]
---

# POST /core/users/account_lockdown/

`POST /core/users/account_lockdown/`

Choose the target account, then return a flow link.

## Request body

- UserAccountLockdownRequest — Choose the target account before starting the lockdown flow.
  - `user` integer, nullable — User to lock. If omitted, locks the current user (self-service).

## Response `200`

- Link — Returns a single link
  - `link` string, required

## Other responses

- `400` — No lockdown flow configured or the flow is not applicable
- `403` — Permission denied (when targeting another user)

---

[API](https://skmtc.dev/goauthentik/apis/authentik.md) · [All operations](https://skmtc.dev/goauthentik/apis/authentik/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/goauthentik/authentik/revisions/4e42e86021d7/schema)
