{
  "opencollection": "1.0.0",
  "info": {
    "name": "Stream Chat API (Server-side REST) Application Moderation API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Moderation",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Ban a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://chat.stream-io-api.com/moderation/ban",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Ban a user globally or within a specific channel, optionally with a timeout."
        },
        {
          "info": {
            "name": "Unban a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://chat.stream-io-api.com/moderation/ban",
            "params": [
              {
                "name": "target_user_id",
                "value": "",
                "type": "query"
              }
            ]
          },
          "docs": "Unban a user"
        },
        {
          "info": {
            "name": "Flag a message or user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://chat.stream-io-api.com/moderation/flag",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Flag a message or user for moderation review."
        },
        {
          "info": {
            "name": "Mute a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://chat.stream-io-api.com/moderation/mute",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Mute one or more target users for the requesting user."
        }
      ]
    }
  ],
  "bundled": true
}