Social account
Disconnect social account from team
Social account
Disconnect social account from team
This will remove the social account from all the scheduled posts too.
DELETE
/
api
/
v1
/
social-account
/
disconnect
curl --request DELETE \
--url https://api.bundle.social/api/v1/social-account/disconnect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"type": "TIKTOK",
"teamId": "<string>"
}'
{
"id": "<string>",
"type": "TIKTOK",
"teamId": "<string>",
"username": "<string>",
"displayName": "<string>",
"externalId": "<string>",
"userUsername": "<string>",
"userDisplayName": "<string>",
"userId": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"webhook": {
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"url": "<string>"
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}
Authorizations
Body
application/json
Body
The body is of type object
.
Response
200
application/json
200
The response is of type object
.
curl --request DELETE \
--url https://api.bundle.social/api/v1/social-account/disconnect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"type": "TIKTOK",
"teamId": "<string>"
}'
{
"id": "<string>",
"type": "TIKTOK",
"teamId": "<string>",
"username": "<string>",
"displayName": "<string>",
"externalId": "<string>",
"userUsername": "<string>",
"userDisplayName": "<string>",
"userId": "<string>",
"channels": [
{
"id": "<string>",
"name": "<string>",
"username": "<string>",
"webhook": {
"id": "<string>",
"name": "<string>",
"avatar": "<string>",
"url": "<string>"
}
}
],
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"deletedAt": "2023-11-07T05:31:56Z"
}