Parameters
2 query
Query parameters
· 2idstringRequiredPost external ID.
Example
a1b2c3d4-e5f6-7890imageIdstringRequiredBlob token of the image to toggle.
Example
abc123def456Toggles the active/inactive status of a gallery image. Inactive images are hidden on the public site but remain in the gallery for re-activation. If the main image is deactivated, the first remaining active image becomes the new main.
2 query
idstringRequiredPost external ID.
a1b2c3d4-e5f6-7890imageIdstringRequiredBlob token of the image to toggle.
abc123def4561 status code documented
successbooleanRequiredWhether the toggle was successful.
{
"success": false
}GET /bff/post/post-image-active-toggle
curl -X GET "https://api.bizkithub.com/bff/post/post-image-active-toggle?id=a1b2c3d4-e5f6-7890&imageId=abc123def456" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY"All BizKitHub public API endpoints require authentication via API key.