---
title: "Brand your connect pages"
description: "PubNio API integrations.connectBranding.update: brand your connect pages. Request fields, examples in five clients, errors, and idempotency."
---

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

# Brand your connect pages

Brand your connect pages with [`PATCH /api/v1/integrations/connect-branding`](https://pubnio.com/api/v1/docs#tag/integrations/PATCH/api/v1/integrations/connect-branding). Requires a signed-in workspace owner, in the web app or the CLI; API keys are not accepted and MCP cannot call it.

## Request

Omit a field to keep it; send null to clear it. PubNio copies logoUrl once; sending back the returned logoUrl keeps the copy. Needs a plan with branded connect pages, otherwise 402 plan_required. The pages still say your name uses PubNio and the network's consent screen names PubNio's app.

| Parameter     | In    | Type | Required |
| ------------- | ----- | ---- | -------- |
| `workspaceId` | query | UUID | Yes      |

| Body field    | Type           | Required |
| ------------- | -------------- | -------- |
| `displayName` | string or null | No       |
| `logoUrl`     | string or null | No       |
| `accentColor` | string or null | No       |
| `supportUrl`  | string or null | No       |

## Response

- HTTP 200: `ConnectBranding` with `workspaceId`, `displayName`, `logoUrl`, `accentColor`, `supportUrl`, `updatedAt`.

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const branding = await workspace.accounts.updateConnectBranding({
  displayName: "Northwind Studio",
  accentColor: "#1f4fd1",
});
```

Create this client with a signed-in person's `accessToken`, not an `apiKey`.

### Python

The Python SDK authenticates with a workspace API key, which this operation does not accept, so it has no method for it.

### cURL

```sh
curl -X PATCH "https://pubnio.com/api/v1/integrations/connect-branding?workspaceId=$WORKSPACE_ID" \
  -H "Authorization: Bearer $PUBNIO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"displayName":"Northwind Studio","accentColor":"#1f4fd1"}'
```

### CLI

```sh
pnio integrations connect-branding update --file branding.json
```

### MCP execute

```js
async () => {
  const response = await codemode.request({
    method: "PATCH",
    path: "/api/v1/integrations/connect-branding",
    query: { workspaceId: codemode.workspaceId },
    body: { displayName: "Northwind Studio", accentColor: "#1f4fd1" },
  });
  return response.data;
};
```

## Errors

- [`plan-required`](https://pubnio.com/docs/problems/plan-required/): HTTP 402, Plan upgrade required

It also declares the problems [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

No key, so a retried `PATCH` is not deduplicated. Read the current state before you retry.

## Limits

- API keys and MCP cannot call it. A signed-in person runs it from the CLI after `pnio auth login` or in the web app.

## Related

- [Connected accounts operations](https://pubnio.com/docs/reference/#connected-accounts)
- [Accounts and connections](https://pubnio.com/docs/accounts/)

Source: https://pubnio.com/docs/reference/integrations-connect-branding-update/index.mdx
