---
title: "Create or Update User Profile for the Current User in the specified Project"
method: PATCH
path: "/v1/projects/{project}/userProfile/current"
tags: ["User Profiles"]
---

# Create or Update User Profile for the Current User in the specified Project

`PATCH /v1/projects/{project}/userProfile/current`

Create or Update a User Profile for Overrides

## Path parameters

- `project` string, required

## Request body

- UpdateUserProfileDto
  - `dvcUserId` string, nullable — DVC User Id for User Profile. Mirrors the SDK `user_id`, which is capped at 200 characters.

## Response `200`

- ProjectUserProfile
  - `_id` string, required — Auto-generated unique User Profile ID
  - `_project` string, required — The Project associated with the User Profile
  - `a0_user` string, required — ID of the User who created the User Profile
  - `dvcUserId` string, nullable — DVC User Id for User Profile. Mirrors the SDK `user_id`, which is capped at 200 characters.
  - `createdAt` string, date-time, required — The date the Project User Profile was created
  - `updatedAt` string, date-time, required — The date the Project User Profile was last updated

## Other responses

- `400`
- `401`
- `403`
- `404`
- `409`

---

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