Skip to main content
PUT
Update feedback

Authorizations

x-access-token
string
header
required

JWT token passed in x-access-token header

Path Parameters

id
string
required

Feedback ID

Body

application/json

Whitelist-enforced update — only rating, comment, status, and response are accepted. Any other field is silently dropped.

rating
integer

Updated rating value.

Required range: 1 <= x <= 5
comment
string

Updated feedback text.

status
enum<string>

Updated status. Use deleted to soft-delete.

Available options:
active,
deleted
response
string

Admin response visible to the user.

Response

Feedback updated successfully

success
boolean
Example:

true

message
string

Success message

Example:

"User institution deleted successfully"