{
  "opencollection": "1.0.0",
  "info": {
    "name": "The Mighty Networks Admin AbuseReports Plans API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Plans",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Return all plans that a member has access to",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mn.co/admin/v1/networks/:network_id/members/:member_id/plans",
            "params": [
              {
                "name": "member_id",
                "value": "",
                "type": "path",
                "description": "The ID of the member"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Items per page (max 100)"
              },
              {
                "name": "network_id",
                "value": "",
                "type": "path",
                "description": "The Network's unique integer ID, or subdomain"
              }
            ]
          },
          "docs": "Return all plans that a member has access to"
        },
        {
          "info": {
            "name": "Return all plans in the network",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mn.co/admin/v1/networks/:network_id/plans",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination"
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Items per page (max 100)"
              },
              {
                "name": "network_id",
                "value": "",
                "type": "path",
                "description": "The Network's unique integer ID, or subdomain"
              }
            ]
          },
          "docs": "Return all plans in the network"
        },
        {
          "info": {
            "name": "Return a single plan by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the plan to retrieve"
              },
              {
                "name": "network_id",
                "value": "",
                "type": "path",
                "description": "The Network's unique integer ID, or subdomain"
              }
            ]
          },
          "docs": "Return a single plan by ID"
        },
        {
          "info": {
            "name": "Archive a plan. This will cancel all associated subscriptions and revoke access.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:id/",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the plan to archive"
              },
              {
                "name": "network_id",
                "value": "",
                "type": "path",
                "description": "The Network's unique integer ID, or subdomain"
              }
            ]
          },
          "docs": "Archive a plan. This will cancel all associated subscriptions and revoke access."
        },
        {
          "info": {
            "name": "Remove a member from a plan by canceling their subscription or purchase",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mn.co/admin/v1/networks/:network_id/plans/:plan_id/members/:id/",
            "params": [
              {
                "name": "plan_id",
                "value": "",
                "type": "path",
                "description": "The ID of the plan"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The ID of the member (user) to remove"
              },
              {
                "name": "network_id",
                "value": "",
                "type": "path",
                "description": "The Network's unique integer ID, or subdomain"
              }
            ]
          },
          "docs": "Remove a member from a plan by canceling their subscription or purchase"
        }
      ]
    }
  ],
  "bundled": true
}