Social Accounts
Disconnect
Remove a connected social account from your project.
Endpoint
DELETE https://api.postpeer.dev/v1/connect/integrations/{id}Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | string | Integration ID from the List endpoint |
Example
curl -X DELETE "https://api.postpeer.dev/v1/connect/integrations/abc123" \
-H "x-access-key: YOUR_API_KEY"import PostPeer from '@postpeer/node';
const client = new PostPeer();
await client.connect.integrations.disconnect({
path: { id: 'abc123' },
});from postpeer import PostPeer
with PostPeer() as client:
client.connect.integrations.disconnect(id="abc123")Response
{
"success": true,
"message": "twitter disconnected."
}Status Codes
| Code | Meaning |
|---|---|
200 | Account disconnected |
404 | Integration not found |