---
title: "POST /core/users/{id}/set_password/"
method: POST
path: "/core/users/{id}/set_password/"
tags: ["core"]
---

# POST /core/users/{id}/set_password/

`POST /core/users/{id}/set_password/`

Set password for user

## Path parameters

- `id` integer, required

## Request body

- UserPasswordSetRequest — Payload to set a users' password directly
  - `password` string, required

## Response `204`

Successfully changed password

## Other responses

- `400` — Bad request
- `403`

---

[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)
