Update the details of a specific faq by ID:
PUT /faqs/{id}
| Parameter | Validation Rule | Example |
|---|---|---|
question |
Required | String | Max: 255 | faq question |
answer |
Nullable | String | faq question answer |
{
"status": "success",
"message": "Faq updated successfully",
"data": {
"id": 1,
"question": "Faq question",
"answer": "Faq answer",
"status": 1,
"created_by": 1,
"updated_by": null,
"created_at": "2025-11-02T05:29:58.000000Z",
"updated_at": "2025-11-02T05:29:58.000000Z",
"deleted_at": null
}
}