Switches off one channel and leaves the rest of its connection as it is. Use it when one Page or Instagram account should no longer be handled in VeloConnect.Authentication: send the login token in the header Authorization: Bearer <token>. Get it with the sign-in call (POST /api/customer-users/partner-login).After the call the channel is inactive: new messages for it are no longer collected, its conversations leave the conversation lists, and the sync and reply calls for it answer 400 (Channel is inactive.). Stored conversations and messages are kept, and you can still read them by id.To switch the channel on again, run POST /api/social/connections/{connectionId}/resync-channels for its connection.Success is an empty answer with HTTP status 204. A channel id that is not yours answers 404.
Request
Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Path Params
Responses
🟢204Channel disconnected
The channel is now inactive. The answer has no body.
This response does not have a body.
🟠401Token missing or not valid
🟠404Channel not found
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request POST 'https://social-platform-api.veloconnect.me/api/social/channels/c2a5e8f1-4b7d-4c9a-a3e6-0f1d2b3c4a59/disconnect' \
--header'Authorization: Bearer <token>'
Response Response Example
{"type":"https://httpstatuses.com/404","title":"Channel not found.","status":404,"traceId":"0HNG4K2V7Q1TB:00000001"}