Disconnect a network
DELETE
/projects/{id}/connections/{platform}
const url = 'https://api.warmup.social/projects/00000000-0000-0000-0000-000000000000/connections/facebook';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://api.warmup.social/projects/00000000-0000-0000-0000-000000000000/connections/facebook \ --header 'Authorization: Bearer <token>'Facebook access is also revoked in Meta. Instagram and Threads access can only be revoked in the network’s own settings. Analytics history is kept.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string format: uuid
Example
00000000-0000-0000-0000-000000000000Project UUID.
platform
required
string
Example
facebookMeta network.
Responses
Section titled “Responses”Connection removed.
Invalid request.
Media typeapplication/json
object
statusCode
required
integer
message
required
One of:
string
Array<string>
object
key
additional properties
any
error
string
key
additional properties
any
Example
{ "statusCode": 400, "message": "Invalid request", "error": "Bad Request"}The Bearer token is missing or invalid.
Media typeapplication/json
object
statusCode
required
integer
message
required
One of:
string
Array<string>
object
key
additional properties
any
error
string
key
additional properties
any
Example
{ "statusCode": 400, "message": "Invalid request", "error": "Bad Request"}The requested resource was not found.
Media typeapplication/json
object
statusCode
required
integer
message
required
One of:
string
Array<string>
object
key
additional properties
any
error
string
key
additional properties
any
Example
{ "statusCode": 400, "message": "Invalid request", "error": "Bad Request"}