{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Psk Portals API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Psk Portals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgPskPortals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Select the page number to return when using page-based pagination; starts at `1`"
              }
            ]
          },
          "docs": "List self-service PSK Portal configurations in the organization, including portal mode, SSID, authentication, expiry, and passphrase rules."
        },
        {
          "info": {
            "name": "createOrgPskPortal",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a self-service PSK Portal configuration for issuing personal PSKs, including SSID, BYOD or admin mode, SSO or sponsor authentication, passphrase rules, and expiry settings."
        },
        {
          "info": {
            "name": "listOrgPskPortalLogs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/logs",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d` or `-1w`"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "Upper bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d`, `-2h`, or `now`"
              },
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Time range duration for the query, using relative units such as `10m`, `7d`, or `2w`"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Select the page number to return when using page-based pagination; starts at `1`"
              }
            ]
          },
          "docs": "List PSK Portal log entries in the organization for the selected time range."
        },
        {
          "info": {
            "name": "countOrgPskPortalLogs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/logs/count",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "distinct",
                "value": "",
                "type": "query",
                "description": "Field used to group this count response. enum: `admin_id`, `admin_name`, `psk_id`, `psk_name`, `pskportal_id`, `user_id`"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d` or `-1w`"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "Upper bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d`, `-2h`, or `now`"
              },
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Time range duration for the query, using relative units such as `10m`, `7d`, or `2w`"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              }
            ]
          },
          "docs": "Count PSK Portal log entries across the organization, optionally grouped by `distinct` and filtered by time range."
        },
        {
          "info": {
            "name": "searchOrgPskPortalLogs",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/logs/search",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "psk_name",
                "value": "",
                "type": "query",
                "description": "Filter PSK portal log results by PSK name"
              },
              {
                "name": "psk_id",
                "value": "",
                "type": "query",
                "description": "Filter PSK portal log results by PSK identifier"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "query",
                "description": "Filter PSK portal log results by PSK portal identifier"
              },
              {
                "name": "id",
                "value": "",
                "type": "query",
                "description": "Filter results by identifier"
              },
              {
                "name": "admin_name",
                "value": "",
                "type": "query",
                "description": "Filter audit log results by administrator name"
              },
              {
                "name": "admin_id",
                "value": "",
                "type": "query",
                "description": "Filter audit log results by administrator identifier"
              },
              {
                "name": "name_id",
                "value": "",
                "type": "query",
                "description": "Filter results by name id"
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of results to return per page"
              },
              {
                "name": "start",
                "value": "",
                "type": "query",
                "description": "Lower bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d` or `-1w`"
              },
              {
                "name": "end",
                "value": "",
                "type": "query",
                "description": "Upper bound of the time range, as an epoch timestamp in seconds or a relative value such as `-1d`, `-2h`, or `now`"
              },
              {
                "name": "duration",
                "value": "",
                "type": "query",
                "description": "Time range duration for the query, using relative units such as `10m`, `7d`, or `2w`"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "On which field the list should be sorted, -prefix represents DESC order"
              },
              {
                "name": "search_after",
                "value": "",
                "type": "query",
                "description": "Pagination cursor for retrieving subsequent pages of results. This value is automatically populated by Mist in the `next` URL from the previous response and should not be manually constructed."
              }
            ]
          },
          "docs": "Search PSK Portal log entries across the organization with filters for PSK, portal, admin, SSO NameID, and time range."
        },
        {
          "info": {
            "name": "getOrgPskPortal",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/:pskportal_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve PSK Portal configuration details, including SSID, mode, authentication, SSO, passphrase, expiry, notification, and template URLs."
        },
        {
          "info": {
            "name": "updateOrgPskPortal",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/:pskportal_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a PSK Portal configuration, including SSID, mode, authentication, SSO, passphrase, expiry, notification, and template settings."
        },
        {
          "info": {
            "name": "deleteOrgPskPortal",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/:pskportal_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a PSK Portal configuration by portal ID, removing the self-service entry point for issuing PSKs through that portal."
        },
        {
          "info": {
            "name": "uploadOrgPskPortalImage",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/:pskportal_id/portal_image",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Upload a custom background image for a PSK Portal."
        },
        {
          "info": {
            "name": "deleteOrgPskPortalImage",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/:pskportal_id/portal_image",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete the custom background image for a PSK Portal. If no image is configured, the PSK Portal uses the default background image."
        },
        {
          "info": {
            "name": "updateOrgPskPortalTemplate",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/pskportals/:pskportal_id/portal_template",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "pskportal_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update PSK Portal UI template settings, including alignment, color, logo, Powered by visibility, and Terms of Service text."
        }
      ]
    }
  ],
  "bundled": true
}