multipart/form-dataslug (path). All fields optional - send only what changes. Uploading image replaces the cover (converted to WebP, old image removed from storage). category accepts the category name or slug. The slug itself never changes (permanent URL). Admin role required.blog_name (title), description (HTML content), category (name or slug), image (file - JPEG/PNG/WebP, max 5 MB)200 - data is the updated blog (full detail).401 - missing/invalid token | 403 - not an admin | 404 - blog not found | 422 - unknown category / bad image / nothing to updateAuthorization: Bearer ********************curl --location --request PATCH 'https://uat-api.hastaai.in/api/v1/blogs/panel/' \
--header 'Authorization: Bearer <token>' \
--form 'blog_name=""' \
--form 'description=""' \
--form 'category=""' \
--form 'image=""'{
"success": true,
"message": "Blog updated successfully",
"data": {
"name": "The Power of Vedic Astrology",
"slug": "the-power-of-vedic-astrology",
"image": "https://images.hastaai.in/blogs/vedic-astrology.jpg",
"description": "<p>Discover how Vedic astrology shapes your destiny...</p>",
"short_description": "Discover how Vedic astrology shapes your destiny\n and reveals the cosmic blueprint behind every life event.",
"reading_time": "8 min",
"category_name": "Astrology",
"is_featured": false,
"is_active": true,
"created_at": "2026-05-13T10:30:00Z"
}
}