API endpoint that represents editing the comment of red-flag record
-
URL Endpoint:
/api/v1/red-flags/{id}/comment
-
Method:
PATCH
-
URL Params:
Name Type Required Description id
integer
✅ The red-flag's id -
Header Options:
- Authorization: Bearer
access_token
- Authorization: Bearer
-
Request Body:
Name Type Required Description comment
string
✅ Proposed comment -
Success Response
- Code:
200 OK
- Content:
{ "status": 200, "data": [ { "id": 3, "message": "Updated red-flag record's comment" } ] }
- Code: