---
title: "Editar el usuario autenticado"
method: PUT
path: "/users/self"
tags: ["Usuarios"]
---

# Editar el usuario autenticado

`PUT /users/self`

Endpoint que permite editar la información del usuario autenticado en la cuenta de Alegra.

## Request body

- object
  - `username` string
  - `name` string
  - `lastName` string
  - `email` string
  - `phone` string
  - `phoneCode` string
  - `role` string
  - `language` string
  - `position` string
  - `status` 'active' | 'inactive'

## Response `200`

Retorna información de un usuario

- Schema — unresolved $ref

## Other responses

- `400` — unresolved $ref
- `401` — unresolved $ref
- `403` — unresolved $ref

---

[API](https://skmtc.dev/alegra/apis/ingresos.md) · [All operations](https://skmtc.dev/alegra/apis/ingresos/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/alegra/ingresos/revisions/cd52d3f68f1b/schema)
