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

# Update Social Profile

> Change a social profile’s display name.

Update `connection_name` to change the name displayed on the hosted connection page and in the profile lists returned by `GET /social/profiles` and `GET /social/connections`.

Names do not need to be unique. Renaming keeps the same `social_profile_id`, connected accounts, and profile slot usage. It does not rename the underlying social account or require reconnecting it. You can update both pending and connected profiles belonging to your organization.

## Request

```bash theme={null}
curl -X PATCH "https://api.mosaic.so/social/profiles/d768e91a-d0ef-487f-8f0e-d6903cce3d5b" \
  -H "Authorization: Bearer mk_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{"connection_name": "Acme Marketing"}'
```

| Field               | Type                | Required | Description                                                                                                                              |
| ------------------- | ------------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `social_profile_id` | string (uuid), path | Yes      | ID returned when creating or listing profiles.                                                                                           |
| `connection_name`   | string, body        | Yes      | New display name. Leading and trailing whitespace is trimmed; must contain 1–120 characters after trimming. Duplicate names are allowed. |

## Response

```json theme={null}
{
  "social_profile_id": "d768e91a-d0ef-487f-8f0e-d6903cce3d5b",
  "connection_name": "Acme Marketing"
}
```

An invalid ID or name returns `400`. A missing, deleted, or other organization's profile returns `404`.
