Update Slack account settings
Set or clear the default message identity for this channel. Empty string clears a field; per-post platformSpecificData.username/iconUrl still override these defaults.
API key authentication - use your Zernio API key as a Bearer token
In: header
Path Parameters
Author name shown on posts. Empty string clears it.
length <= 80Author avatar image URL. Empty string clears it.
Response Body
application/json
application/json
import Zernio from '@zernio/node';const zernio = new Zernio({ apiKey: process.env.ZERNIO_API_KEY });const { data } = await zernio.accounts.updateSlackSettings({ path: { accountId: 'account_abc123', }, body: { defaultUsername: 'Example', defaultIconUrl: 'https://example.com', },});console.log(data);{
"error": "string",
"type": "invalid_request_error",
"code": "string",
"param": "string",
"platform": "string",
"platformError": {},
"details": {}
}{
"error": "Unauthorized"
}Update account PUT
Updates a connected social account's display name or username override. For X/Twitter accounts on usage-based billing, also accepts an `xCapabilities` object to toggle background API operations that incur X API pass-through costs. Both fields are opt-in (default `false`) — when off, no analytics syncs or DM polling are performed for that account, and no API call is metered for those operations. Publishing and deleting posts are always available regardless of these toggles. Setting `xCapabilities` on a non-X account returns 400.
Disconnect account DELETE
Disconnects and removes a connected social account.