Accounts
Disconnect an account
Disconnects and removes a connected social account. Pending scheduled, queued, and publishing targets for that account are canceled. This endpoint requires a read-write API key.
Authorization
bearerAuth AuthorizationBearer <token>
PostZen API key.
In: header
Path Parameters
accountId*string
PostZen account id.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "https://example.com/v1/accounts/string"{ "message": "Account disconnected successfully"}{ "error": "Unauthorized"}{ "error": "API key requires read_write permission"}{ "error": "Not found"}{ "error": "Failed to create post"}