Update a question

Updates a question. Only the fields you send are changed.

For a project template question, file_contents or zip_file replaces all of the question's files. In file_contents, entries marked "deleted": true are ignored. To reuse a response's file_contents, JSON-encode the array as the request's file_contents string. .cpad cannot be marked deleted, and at least one file must remain. An empty array, encoded as "[]", resets the question to the template's own files.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

The question ID.

Body Params
question
object
required
Headers
string
enum
Defaults to application/json

Generated from available request content types

Allowed:
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json