Accounts
Disconnect Account
Disconnects the account. On YouTube, Onepostly's access is also withdrawn on the platform. Its published posts stay on the platform, and its posts in Onepostly keep their history.
DELETE
Bearerheader
AuthorizationBearer <op_>Workspace API key, sent as Authorization: Bearer op_... Keys are created in the dashboard.
id*stringLength
1 <= lengthDisconnected
Example Request
import { Configuration, AccountsApi } from "@onepostly/sdk";const accountsApi = new AccountsApi( new Configuration({ accessToken: process.env.ONEPOSTLY_API_KEY }));const response = await accountsApi.deleteAccount({ id: "acc_YOUR_LINKEDIN_ACCOUNT_ID",});console.log(response);Example Response
Empty
Update Account
Changes the account's metadata. A string sets a key, null removes it, and keys you leave out keep their values.
Reconnect Account
Renews an account's authorization. For OAuth platforms the response has type oauth and url, where the account owner signs in again with the same account. For Bluesky, send identifier and appPassword and the response has type account and the reconnected account. Reconnecting never adds a billed account.