更新反馈

Updates existing feedback

put
/feedback/{id}

This endpoint allows users to update existing feedback.

Authorizations
x-portkey-api-keystringRequired
Path parameters
idstring · uuidRequired

Feedback ID

Body
valueinteger · min: -10 · max: 10Required

Feedback value, an integer between -10 and 10.

weightnumber · float · max: 1Optional

Weight of the feedback, a float between 0 and 1. Default is 1.0.

Default: 1
Responses
chevron-right
200

Feedback successfully updated

application/json
statusstringOptional

success or failure

messagestringOptional

Confirmation message indicating successful feedback submission.

feedback_idsstring[]Optional

Ids of Feedbacks created returned in the same order as input

put
/feedback/{id}
200

Feedback successfully updated

Last updated