---
title: "Update user profile"
method: PUT
path: "/api/profile"
tags: ["Profile"]
---

# Update user profile

`PUT /api/profile`

Update current user profile.

## Request body

- object
  - `firstName` string, required — First name of the user
  - `lastName` string, required — Last name of the user

## Response `200`

Successfully updated user profile

- object — Successfully updated user profile
  - `user` object, required — Updated user profile information
    - `id` string, uuid, required — Unique identifier of the user
    - `email` string, email, required — Email address of the user
    - `firstName` string — First name of the user
    - `lastName` string — Last name of the user
    - `type` 'invited' | 'member' | 'author' | 'admin' | 'owner', required — User role type within the organisation
    - `status` 'active' | 'disabled' | 'locked', required — Current status of the user account
    - `organisationId` string, uuid, required — Organisation ID the user belongs to
    - `lastProjectId` string, uuid, nullable, required — ID of the last visited project
    - `owner` boolean — Whether the user is the organisation owner
    - `isService` boolean — Whether the user is a service account
    - `createdAt` string, required — Timestamp when the user was created
    - `updatedAt` string, required — Timestamp when the user was last updated

---

[API](https://skmtc.dev/gorules/apis/gorules-agent-api.md) · [All operations](https://skmtc.dev/gorules/apis/gorules-agent-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gorules/gorules-agent-api/revisions/52c0773fcd80/schema)
