> ## Documentation Index
> Fetch the complete documentation index at: https://docs.profiledrisk.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Profile

The Update Profile endpoint is used to **modify an existing profile’s attributes** when your internal records change (for example, contact updates, tier upgrades, address changes).

Updating profiles ensures future risk evaluations use the latest, accurate data.

### Request

```http [PUT] theme={null}
{{baseURL}}/profile/{profile_id}
```

### Header

| Header        | Type   | Description |
| ------------- | ------ | ----------- |
| Authorization | string | private key |

## Request Body

| Parameter       | Type   | Description          | Required |
| --------------- | ------ | -------------------- | -------- |
| user.email      | string | User's email         | optional |
| user.tier       | string | User's level or tier | optional |
| user.mobile     | string | User's mobile        | optional |
| device.language | string | Device Language      | optional |
| address.city    | string | Address City         | optional |
| address.country | string | Address Country      | optional |

> The structure mirrors Create Profile, but you send only the fields you want to update:

```json theme={null}
    {
      "user": {
        "email": "trevor.updated@example.com",
        "tier": "gold",
        "mobile": "08030000000"
      },
      "device": {
        "language": "en-NG"
      },
      "address": {
        "city": "Lagos",
        "country": "Nigeria"
      }
    }
```

## Successful Response

```json theme={null}
    {
      "profile_id": "prf_01JABC9YEXAMPLE123",
      "user_id": "9931fac0-6bfa-4b3c-842c-7840006d89b6",
      "updated_at": "2025-01-02T09:30:00Z",
      "status": "active"
    }
```
