---
title: "Update Platform Config"
method: PATCH
path: "/v2/platform-configs/{config_id}"
tags: ["v2 - PlatformConfig"]
---

# Update Platform Config

`PATCH /v2/platform-configs/{config_id}`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/v2/platform-configs/{config_id}`
- Auth: HTTP bearer

Update a platform configuration.

Only provided fields will be updated.

Access: Must have CONTENT_EDIT permission on the content's workspace.

## Path parameters

- `config_id` string, required

## Headers

- `Authorization` string
- `X-JubJub-Service-Key` string
- `X-JubJub-Agent-Key` string
- `X-JubJub-Platform-Key` string
- `Origin` string
- `Referer` string
- `X-JubJub-Trial-Token` string

## Request body

- UpdatePlatformConfigRequest: Request to update a platform config.
  - `credential_id` string, nullable: Change the credential/account to use
  - `credential_name` string, nullable: Update the friendly name
  - `settings` object, nullable: Platform-specific settings to update
  - `status` string, nullable: Update status: not_configured, ready

## Response `200`

Successful Response

- PlatformConfigResponse: Full platform config response.
  - `config_id` string, required
  - `content_id` string, required
  - `platform` string, required
  - `credential_id` string, nullable, required
  - `credential_name` string, nullable, required
  - `status` string, required
  - `settings` object, nullable, required
  - `published_url` string, nullable, required
  - `published_id` string, nullable, required
  - `published_at` string, date-time, nullable, required
  - `published_playback_policy` string, nullable
  - `error_message` string, nullable, required
  - `token_valid` boolean, nullable: Whether the credential's token is still valid. None if not checked.
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable, required
  - `notices` string[]: Plain sentences about this request, e.g. that Meta Ads campaign settings were ignored

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
