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/635/reviews/3

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTcxIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYzNjI2NDAzLCJleHAiOjE3NjYyMTg0MDMsImp0aSI6ImY1NGM5MDUyLWNiMGYtNDI4My04NzQ4LWZmYTlmYWY2MDEzMyJ9.tMSifdwd7gIToXcetLbtOs6tnxRhS0hYWTA0lbzdDUQ
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/"63f951bb6a5b30a148730b19c5a23fa8"
cache-control: max-age=0, private, must-revalidate
x-request-id: ba72fa7d-6209-4269-95d2-75bd0c42ad1e
x-runtime: 0.016308
content-length: 122

Body

{
  "review": {
    "id": 3,
    "comment": "Updated",
    "created_at": "2025-11-20",
    "full_name": "Karin McKenzie",
    "profile_id": 635,
    "rating": 5
  }
}