API Documentation

threads/close

Closes a thread.

URL

https://disqus.com/api/3.0/threads/close.json

Accessibility

public key, secret key

Supported request methods

POST

Supported formats

json, jsonp

Requires authentication

yes

Rate limited

inherits global rate limit

Arguments

Required

  • thread allows multiple

    Looks up a thread by ID
    You must be a moderator on the selected thread's forum.
    You may pass us the 'ident' query type instead of an ID by including 'forum'.
    You may pass us the 'link' query type to filter by URL. You must pass the 'forum' if you do not have the Pro API Access addon.

Optional

  • forum

    Defaults to null

    Looks up a forum by ID (aka short name)

Example Responses

Expand json

POST thread=1

{
  "code":0,
  "response":[
    {
      "id":"1"
    }
  ]
}
Expand json

POST thread:ident=my-identifier&forum=bobross

{
  "code":0,
  "response":[
    {
      "id":"1"
    }
  ]
}