Skip to main content
PUT
/
questions
/
{questionId}
Updates an existing question with new information.
curl --request PUT \
  --url https://api.example.com/questions/{questionId} \
  --header 'Content-Type: application/json' \
  --data '
{
  "position": 123,
  "prompt": "<string>",
  "type": "<string>",
  "metadata": "<string>"
}
'

Path Parameters

questionId
integer<int32>
required

The unique identifier of the question to update.

Body

The updated question data including prompt, position, type, and metadata.

position
integer<int32>
prompt
string | null
type
string | null
metadata
string | null

Response

OK