---
title: "Update my account"
method: PUT
path: "/account"
tags: ["Admin Authentication"]
---

# Update my account

`PUT /account`

## Request

- Base URL: `http://localhost:8000/api/admin`
- URL: `http://localhost:8000/api/admin/account`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/bagisto/apis/bagisto-admin-api/docs/account/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the authenticated admin's name, email and, optionally, password. `current_password` is required for every change. Send `password` with a matching `password_confirmation` to change the password. The avatar is managed by `POST /account/image` and `DELETE /account/image`.

## Request body

- object
  - `name` string, required
  - `email` string, email
  - `password` string
  - `password_confirmation` string
  - `current_password` string, required

## Response `200`

The updated profile.

## Other responses

- `400`: Invalid input
- `401`: Missing or invalid admin token.
- `404`: Not found
- `422`: Validation failed, or the current password is wrong.

## Changes

- **2026-10-28** `3198f11be70f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bagisto/apis/bagisto-admin-api/changes/account/put.md)

---

[API](https://skmtc.dev/bagisto/apis/bagisto-admin-api.md) - [All operations](https://skmtc.dev/bagisto/apis/bagisto-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bagisto/apis/bagisto-admin-api/revisions/3198f11be70f?raw)
