API Documentation

forums/block/banPostAuthor

URL

https://disqus.com/api/3.0/forums/block/banPostAuthor.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

  • post

    Looks up a post by ID
    You must be a moderator on the selected post's forum.

Optional

  • retroactiveAction

    Defaults to null

    Action to apply retroactively to existing posts. Leave blank to apply no action
    Valid values are:
    1: KILL
    2: SPAM

  • dateExpires

    Defaults to null

    Unix timestamp (or ISO datetime standard)

  • shadowBan

    Defaults to false

  • banUser

    Defaults to false

    Ban the user who authored the post if one exists

  • notes

    Defaults to ""

    Maximum length of 50

  • banEmail

    Defaults to false

    Ban the email address associated with the post

  • banIp

    Defaults to false

    Ban the ip address associated with the post