Brand your connect pages with 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:
ConnectBrandingwithworkspaceId,displayName,logoUrl,accentColor,supportUrl,updatedAt.
The OpenAPI document has each field’s type.
Examples
const branding = await workspace.accounts.updateConnectBranding({
displayName: "Northwind Studio",
accentColor: "#1f4fd1",
});Create this client with a signed-in person’s accessToken, not an apiKey.
The Python SDK authenticates with a workspace API key, which this operation does not accept, so it has no method for it.
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"}'pnio integrations connect-branding update --file branding.jsonasync () => {
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: HTTP 402, Plan upgrade required
It also declares the problems most operations 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 loginor in the web app.