Update an answer

Changes the text of an answer, or switches it between public and private. Send the fields inside a comment object. Fields sent inside answer are ignored, and the request still returns 200.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
🚧

Send comment, not answer

Creating an answer takes an answer object, but updating one takes a comment object. Fields sent inside answer are ignored.

Path Params
string
required

ID of the question. Get it from Retrieve all questions.

string
required

ID of the answer. Get it from Retrieve a question.

Body Params
comment
object
required

The fields to change. Send at least one.

Responses

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