Authorization: Bearer ********************"string"curl --location --request PATCH 'http://localhost:3000/api/v1/personality-assessments/questions/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '"string"'{
"message": "Question updated successfully",
"data": {
"id": 1,
"content": "How would you describe your personality?",
"createdAt": "2023-04-12T12:34:56.789Z",
"updatedAt": "2023-04-12T12:34:56.789Z",
"options": [
{
"id": 1,
"text": "Outgoing and social",
"isCorrect": true,
"category": {
"id": 1,
"name": "Extroversion",
"description": "Measures the degree of outgoingness and sociability."
}
}
]
}
}