Skip to main content

Update Unleash feedback

PUT <your-unleash-url>/api/admin/feedback/:id

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Updates the feedback with the provided ID. Only provided fields are updated. Fields left out are left untouched. Must be called with a token with an identifiable user (either from being sent from the UI or from using a PAT).

Request

Path Parameters

  • id string required

Body

required

feedbackUpdateSchema

  • userId integer

    The ID of the user that gave the feedback.

  • neverShow boolean

    true if the user has asked never to see this feedback questionnaire again.

  • given date-time nullable

    When this feedback was given

Responses

feedbackResponseSchema

Schema
  • userId integer

    The ID of the user that gave the feedback.

  • neverShow boolean

    true if the user has asked never to see this feedback questionnaire again.

  • given date-time nullable

    When this feedback was given

  • feedbackId string

    The name of the feedback session

Authorization

name: Authorizationtype: apiKeyin: headerdescription: API key needed to access this API

Request

Base URL
<your-unleash-url>
Security Scheme
apiKey
id — path required
Body required
{
"userId": 2,
"neverShow": false,
"given": "2023-07-06T08:29:21.282Z"
}
curl / cURL
curl -L -X PUT '<your-unleash-url>/api/admin/feedback/:id' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>' \
--data-raw '{
"userId": 2,
"neverShow": false,
"given": "2023-07-06T08:29:21.282Z"
}'