API reference
Disconnect a social account; it can no longer be posted to.
https://api.betterpost.dev/v1/connect/integrations/{id}Sends an account.disconnected webhook. See Disconnect an account
for what happens to posts.
| Name | Description |
|---|---|
id | The account id. |
curl -s -X DELETE https://api.betterpost.dev/v1/connect/integrations/acc_2x9c4v7b1n8m3k5j0h6g2f4d \
-H "x-access-key: $BETTERPOST_API_KEY"200 OK
{ "success": true, "message": "twitter disconnected." }The message names the account's platform.
| Status | Code | When |
|---|---|---|
200 | The account was disconnected. | |
401 | unauthorized | Missing or unknown API key. |
404 | not_found | No such account in this project, or it is already disconnected. |
429 | rate_limited | More than 120 requests per minute. |