Reopen a Closed Node

You can use this API request to reopen a node to allow further editing. You can edit a node again, that you have reopened, and add new attachments.

/services/v2/node/[nodeId]/reopen.json

You can use the following parameters in your reopen a closed node request:

Other options: wrap

🚧

Permissions & Notes:

  • You must have the Close any question permission under Other Standard Roles in the Advanced Editor to close any node.

    • If the closed node you are trying to reopen is your own, you must have the Close own question permission under Other Standard Roles in the Advanced Editor.
  • We added this request in version 1.6.3.

Sample Request

A PUT reopen a closed node request to reopen a node (nodeId: 832) sent to https://apidocs.cloud.answerhub.com using a human-readable Username/Password (answerhub/test123) would look like this:

curl 
-u answerhub:test123 
-H "Accept: application/json" 
-H "Content-type: application/json" 
-X PUT "https://apidocs.cloud.answerhub.com/services/v2/node/832/reopen.json" -v

Expected Response

Successful Response:

  • HTTP Status 200 - OK
{
    "success": true,
    "result": {
        "closeAction": {
            "id": 1093,
            "ip": "172.18.0.3",
            "user": {
                "id": 108,
                "username": "admin",
                "avatarUrl": "https://secure.gravatar.com/avatar/4e955c70eeff0abe1974c9be300a8887?d=identicon&r=PG"
            },
            "actionDate": "2019-02-07 15:02:59.0",
            "canceled": true,
            "canceledByUser": {
                "id": 108,
                "username": "admin",
                "avatarUrl": "https://secure.gravatar.com/avatar/4e955c70eeff0abe1974c9be300a8887?d=identicon&r=PG"
            },
            "canceledDate": "Thu Feb 07 15:05:33 UTC 2019",
            "extra": "question has been answered",
            "private": false,
            "verb": "closed",
            "node": {
                "id": 832,
                "type": "question"
            }
        }
    }
}
Language
Authorization
Basic
base64
:
Click Try It! to start a request and see the response here!