cURL
curl --request PUT \ --url https://app.quizrise.com/api/v1/question \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "questionId": "<string>", "text": "<string>", "choices": [ { "id": "<string>", "text": "<string>", "isCorrect": true } ] }'
{ "status": "success", "message": "<string>", "question": { "id": "<string>", "text": "<string>", "choices": [ { "id": "<string>", "text": "<string>", "isCorrect": true } ] } }
Update an existing question content and answer options
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Question successfully updated
The response is of type object.
object