Skip to main content
PUT
/
api
/
admin
/
feedback
/
{id}
Update feedback
curl --request PUT \
  --url https://pria.praxislxp.com/api/admin/feedback/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-access-token: <api-key>' \
  --data '
{
  "rating": 3,
  "comment": "<string>",
  "response": "<string>"
}
'
{
  "success": true,
  "message": "User institution deleted successfully"
}

Documentation Index

Fetch the complete documentation index at: https://docs.praxis-ai.com/llms.txt

Use this file to discover all available pages before exploring further.

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"