Bluesky
Update Bluesky Account Settings
Sets or clears the account's default post languages. Send null to clear them. Works only on Bluesky connections.
PATCH
header
x-api-key<token>Workspace API key, sent in the x-api-key header. Keys start with op_ and are created in the dashboard.
id*stringLength
1 <= lengthapplication/json- body
defaultLangs*array<>|Items
items <= 10Updated Bluesky settings
application/json- response
accountId*stringplatform*"bluesky"Value in
"bluesky"defaultLangs*array<string>|nullupdatedAt*stringFormat
date-timeExample Request
import { Configuration, ConnectionsApi } from "@onepostly/sdk";const connectionsApi = new ConnectionsApi( new Configuration({ apiKey: process.env.ONEPOSTLY_API_KEY }));const response = await connectionsApi.updateBlueskySettings({ id: "a1b2c3d4-e5f6-4a7b-8c9d-e0f1a2b3c4d5", body: { "defaultLangs": [ "en" ] },});console.log(response);Example Response
{ "accountId": "a1b2c3d4-e5f6-4a7b-8c9d-e0f1a2b3c4d5", "platform": "bluesky", "defaultLangs": [ "en" ], "updatedAt": "2026-08-25T10:00:00.000Z"}