---
title: "Replace a Social Set"
method: PUT
path: "/social-sets/{id}"
tags: ["Social Sets"]
---

# Replace a Social Set

`PUT /social-sets/{id}`

## Request

- Base URL: `https://app.openpo.st/api/v1`
- URL: `https://app.openpo.st/api/v1/social-sets/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `openpost_session`

## Path parameters

- `id` string, required: Social Set ID

## Request body

- UpdateSocialSetInputBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `accounts` SocialSetAccountInput[], nullable, required: Replacement ordered membership
    - `default_output_profile` string: Optional provider-qualified default format
    - `default_segment_settings` object: Post settings copied into new rendition segments
    - `default_settings` object: Destination settings copied into new renditions
    - `social_account_id` string, required: Connected social account ID
  - `is_default` boolean, required: Use this set when the composer opens
  - `locale` string: BCP 47 locale for account settings validation
  - `name` string, required: Social Set name
  - `region` string: ISO 3166-1 alpha-2 region for account settings validation

## Response `200`

OK

- SocialSetResponse
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `accounts` SocialSetAccountResponse[], nullable, required
    - `account_avatar_url` string
    - `account_username` string
    - `default_output_profile` string
    - `default_segment_settings` object
    - `default_settings` object
    - `display_order` integer, required
    - `platform` string, required
    - `social_account_id` string, required
  - `created_at` string, required
  - `id` string, required
  - `is_default` boolean, required
  - `name` string, required
  - `updated_at` string, required
  - `workspace_id` string, required

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/openpo/apis/openpost-api.md) · [All operations](https://skmtc.dev/openpo/apis/openpost-api/llms.txt) · [OpenAPI document](https://skmtc.dev/openpo/apis/openpost-api/revisions/67d3964458a7?raw)
