---
title: "Update Profile"
method: PATCH
path: "/profiles/{profile_id}"
tags: ["Profiles"]
---

# Update Profile

`PATCH /profiles/{profile_id}`

## Request

- Base URL: `https://api.browser-use.com/api/v4`
- URL: `https://api.browser-use.com/api/v4/profiles/{profile_id}`
- Auth: API key in header `X-Browser-Use-API-Key`

Update a browser profile's information.

## Path parameters

- `profile_id` string, uuid, required

## Request body

- ProfileUpdateRequest: Request model for updating a profile.
  - `name` string, nullable: Optional name for the profile
  - `userId` string, nullable: Your internal user identifier for this profile. Use this to associate a profile with a user in your system.

## Response `200`

Successful Response

- ProfileView: View model for representing a profile. A profile lets you preserve the login state between sessions. We recommend that you create a separate profile for each user of your app. You can assign a user_id to each profile to easily identify which user the profile belongs to.
  - `id` string, uuid, required: Unique identifier for the profile
  - `userId` string, nullable: Your internal user identifier for this profile. Use this to associate a profile with a user in your system.
  - `name` string, nullable: Optional name for the profile
  - `lastUsedAt` string, date-time, nullable: Timestamp when the profile was last used
  - `createdAt` string, date-time, required: Timestamp when the profile was created
  - `updatedAt` string, date-time, required: Timestamp when the profile was last updated
  - `cookieDomains` string[], nullable: List of domain URLs that have cookies stored for this profile

## Other responses

- `404`: Profile not found
- `422`: Validation Error

---

[API](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4.md) · [All operations](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4/llms.txt) · [OpenAPI document](https://skmtc.dev/browser-use/apis/browser-use-public-api-v4/revisions/cd7b1eee1102?raw)
