Delete Account
Deletes a social media account from your workspace. This action cannot be undone and will remove the account from all future posts.
Request
The ID of the account to delete
curl -X DELETE "https://postsyncer.com/api/v1/accounts/123" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Response
Account deleted successfully
{
"message": "Account deleted successfully"
}
Code Examples
curl -X DELETE "https://postsyncer.com/api/v1/accounts/123" \
-H "Authorization: Bearer YOUR_API_TOKEN"
Error Codes
Missing or invalid API token
Token does not have ‘accounts’ permission
Account not found or user does not have access to the account’s workspace
Invalid account ID provided