Skip to main content
PATCH
Update a quiz question

Authorizations

Api-Token
string
header
required

Server-to-server authentication. Generate a token in the admin UI at Settings → Developers → API Access. Send the raw token in the Api-Token header — there is no Bearer prefix.

Tokens can be marked read-only at creation time, in which case the API rejects any non-GET request with 403 Forbidden.

Path Parameters

uuid
string
required

QuizQuestion identifier

Body

application/merge-patch+json

The updated QuizQuestion resource

uuid
string | null
quiz
string<iri-reference>
Example:

"/api/v1/course_quizzes/1"

question
string
type
string
default:single
image
string<iri-reference> | null
Example:

"/api/v1/media/1"

position
integer | null
default:0
points
integer | null
default:1

Response

QuizQuestion resource updated

id
integer
read-only
uuid
string | null
quiz
string<iri-reference>
Example:

"/api/v1/course_quizzes/1"

question
string
type
string
default:single
hasImage
boolean
default:false
position
integer | null
default:0
points
integer | null
default:1
dateCreated
string<date-time>