Reviews

Update a review for a profile

PUT update review(admin)

Endpoint

PUT /api/v1/profiles/:profile_id/reviews/:id

Parameters

Name Description
review[rating] required Rating
review[comment] required Comment
review[full_name] Full name

Request

Route

PUT /api/v1/profiles/621/reviews/4

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTUxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzUzMjY2MjE2LCJleHAiOjE3NTU4NTgyMTYsImp0aSI6ImU0MjI3MDg2LWJkNTktNDBhNi05N2MyLTYxM2E2NmRkY2UxMyJ9.ahuKromHHXgOBW5rFHr5w1aXeuKKRZAP8ea2eAycIls
Host: example.org
Cookie: 

Body

{
  "review": {
    "rating": 5,
    "comment": "Updated"
  }
}

Response

Simulated Response

Status

200

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/json; charset=utf-8
vary: Accept, Origin
etag: W/"d34cd1793911c3a2f29d61ea63392637"
cache-control: max-age=0, private, must-revalidate
x-request-id: 462c8214-d55a-4e79-b899-57b136e5ca59
x-runtime: 0.024242
content-length: 122

Body

{
  "review": {
    "id": 4,
    "comment": "Updated",
    "created_at": "2025-07-23",
    "full_name": "Porfirio Mante",
    "profile_id": 621,
    "rating": 5
  }
}