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

# Update Current Profile

> Update the authenticated user's profile

## Authentication

<ParamField header="Authorization" type="string" required>
  Bearer token: `Bearer <firebase_id_token>`
</ParamField>

## Request

<ParamField body="full_name" type="string">
  Updated full name
</ParamField>

<ParamField body="company_name" type="string">
  Updated organization name
</ParamField>

### Example Request

```bash theme={null}
curl -X PUT https://api.sari-platform.com/api/profiles/me \
  -H "Authorization: Bearer <firebase_id_token>" \
  -H "Content-Type: application/json" \
  -d '{
    "full_name": "John Smith",
    "company_name": "New Company"
  }'
```

## Response

Returns the updated profile object.

### Example Response

```json theme={null}
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "email": "user@example.com",
  "full_name": "John Smith",
  "company_name": "New Company",
  "role": "client",
  "registration_status": "approved",
  "client_id": "client_abc123",
  "created_at": "2024-01-15T10:30:00Z",
  "updated_at": "2024-01-17T14:00:00Z"
}
```

## Errors

| Status | Description              |
| ------ | ------------------------ |
| 400    | Invalid request body     |
| 401    | Invalid or expired token |
