/bff/post/post-image-active-toggle
Toggles 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.
PostgetBffPostPost-image-active-toggle
Parameters
2 query
Query · 2
idstringRequiredPost external ID.
imageIdstringRequiredBlob token of the image to toggle.
Request
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"Response
JSON payload
{
"success": false
}All response codes
1 status code documented
Need an API key?
All BizKitHub API endpoints require authentication via API key.