Skip to main content
DocsPlatformsAPI ReferenceAI & Integrations
Social Accounts

Disconnect

Remove a connected social account from your project.

Endpoint

DELETE https://api.postpeer.dev/v1/connect/integrations/{id}

Path Parameters

ParameterTypeDescription
idstringIntegration 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

CodeMeaning
200Account disconnected
404Integration not found

On this page