Edit a problem's details

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

Id of the problem to update

Query Params
integer
boolean

Whether or not to return test cases for the problem (default is "false")

Body Params

Must include at least one of the available attributes

string
string
string

Compiled source code of the problem

int32

Length of time allotted for solving the problem (in minutes)

string
boolean

Whether or not this problem is publically-visible

string
string
testCases
array of objects
testCases
contributors
array of objects

A list of contributors to this problem

contributors
string

The HTML Markup version of the problem statement

integer

ID of the organization associated with this problem, if any

Responses
201

Problem was successfully created.

400

No applicable problem fields were passed in the body to update

403

The user tried to add this problem to an organization that they do not have the authority to add it to

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here!