blogs
update a blog post by a superadmin
patch/blogs/edit/{blogId}
Path parameters
blogIdstring uuid required
Request body
Example request
{
"title": "Updated Blog Post",
"content": "This is the content of the updated blog post",
"category": "Space",
"image_url": "http://solarsystem.com"
}Response
Blog post updated successfully
Example response
{
"status": "success",
"status_code": 200,
"message": "Blog post updated successfully.",
"data": {
"title": "Updated Blog Post",
"content": "This is the content of the updated blog post",
"image_url": "http://solarsystem.com",
"category": "space"
}
}