PUT
/
api
/
user
/
history
/
{historyId}
Update a history record
curl --request PUT \
  --url https://pria.praxislxp.com/api/user/history/{historyId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "favorite": true,
  "forgotten": true
}'
{
  "success": true,
  "message": "History updated!"
}

Authorizations

Authorization
string
header
required

JWT token passed in x-access-token header

Path Parameters

historyId
string
required

The unique identifier of the history record to update

Body

application/json

Response

History record successfully updated

The response is of type object.