API reference/Instagram
Disconnect Instagram
Try itRemoves the site's Instagram connection, its stored posts and their pictures at once. Instagram posts sections then show only their Follow button.
DELETE
/api/v1/sites/{site_id}/instagramAuthentication
An API key as Authorization: Bearer or x-api-key. It needs the sites:write scope — edit draft pages and sections.
sites:writeChanges the live siteIdempotency-Key optionalMCP tool: disconnect_instagram
Parameters
Named placeholders go in the path; the rest in the query string.
site_idstringPath · required- The site's id.1 to 100 characters
Response
200 with JSON on success (schema on the right). Errors use the standard envelope; a retry with the same Idempotency-Key gets the first answer back (how retries work).
curl -X DELETE 'https://websites.workflowcorp.com/api/v1/sites/SITE_ID/instagram' \
-H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"{
"site_id": "SITE_ID"
}{
"type": "object",
"properties": {
"available": {
"type": "boolean",
"description": "Instagram can be connected on this service (Workflow Corp's Instagram app keys are set). false = the section shows only its Follow button."
},
"connected": {
"type": "boolean"
},
"username": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"is_sample": {
"type": "boolean"
},
"read_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "When the posts were last read from Instagram (they are read again every hour)."
},
"problem": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Plain words for the last failed read; the last posts read stay on the site."
},
"posts": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"permalink": {
"type": "string",
"description": "The post on Instagram."
},
"caption": {
"type": "string"
},
"kind": {
"type": "string",
"description": "IMAGE, VIDEO (its cover picture is shown) or CAROUSEL_ALBUM."
},
"image_url": {
"type": "string",
"description": "The picture as stored on the site (never loaded from Instagram)."
},
"posted_at": {
"type": "string"
}
},
"required": [
"id",
"permalink",
"caption",
"kind",
"image_url",
"posted_at"
],
"additionalProperties": false
}
}
},
"required": [
"available",
"connected",
"username",
"is_sample",
"read_at",
"problem",
"posts"
],
"additionalProperties": false
}