Disconnect account
Disconnects and removes a connected social account.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Response Body
application/json
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.deleteAccount({ path: { accountId: 'account_abc123', },});console.log(data);{
"message": "Account disconnected successfully"
}{
"error": "Unauthorized"
}{
"error": "Not found"
}Update Slack account settings PATCH
Set or clear the default message identity for this channel. Empty string clears a field; per-post platformSpecificData.username/iconUrl still override these defaults.
Move account to another profile PATCH
Moves a connected social account to a different profile owned by the same user. The target profile must belong to the same user as the account. For API keys restricted to specific profiles, BOTH the source account's current profile AND the target profile must be in the key's allowed set. Calls with a target profile outside the key's scope return 403.