Social accounts
Move a connected account to another profile, or out of any profile.
curl -s -X PATCH https://api.betterpost.dev/v1/connect/integrations/acc_2x9c4v7b1n8m3k5j0h6g2f4d \
-H "x-access-key: $BETTERPOST_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "profileId": "prof_1b7r4a9n2d5c8l0e3k6s9m2x" }'The body has exactly one field, profileId: a profile id, or null to remove the account from its profile. The
response is the updated integration: { "success": true, "integration": { ... } }.
If the destination profile already contains the same platform account, the API answers 409
duplicate_integration. An unknown profile is 404.
Reference: PATCH /v1/connect/integrations/{id}.