PUT
/
question
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
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
questionId
string
required
text
string
choices
object[]

Response

200
application/json
Question successfully updated
status
enum<string>
required
Available options:
success
message
string
required
question
object
required