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

Headers

Accept: application/json
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiIxNTMwIiwic2NwIjoidXNlciIsImF1ZCI6bnVsbCwiaWF0IjoxNzYwOTUwNDY5LCJleHAiOjE3NjM1NDI0NjksImp0aSI6IjhlNDE0MmY4LTRlZjQtNDZjYi1iZjcwLTY3NzZmMGExOWM0MiJ9.6c60jRccfTbcOVMB_tJyTwdpTcO9uhG3DA88t46WnDs
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/"e2b38af55689136a37ffcd8e49933269"
cache-control: max-age=0, private, must-revalidate
x-request-id: 15536da3-1fdc-4d36-b77e-2e5ca1bebcf4
x-runtime: 0.009697
content-length: 120

Body

{
  "review": {
    "id": 3,
    "comment": "Updated",
    "created_at": "2025-10-20",
    "full_name": "Frank Raynor",
    "profile_id": 616,
    "rating": 5
  }
}