{
  "opencollection": "1.0.0",
  "info": {
    "name": "Mist Admins Orgs Admins API",
    "version": "2606.1.1"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "Authorization",
      "value": "{{Authorization}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Orgs Admins",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "listOrgAdmins",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/admins",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List administrators that have privileges in this organization hierarchy, including organization, site, or site group scopes."
        },
        {
          "info": {
            "name": "updateOrgAdmin",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/admins/:admin_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "admin_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update identity fields and privilege assignments for an existing administrator under this organization."
        },
        {
          "info": {
            "name": "revokeOrgAdmin",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/admins/:admin_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "admin_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove all privileges this administrator has in the organization hierarchy. This does not delete the administrator account."
        },
        {
          "info": {
            "name": "inviteOrgAdmin",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/invites",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "If the request is successful, an email will also be sent to the user with a link to ```https://manage.mist.com/verify/invite?token=:token&expire=1459632743&org=OrgName```"
        },
        {
          "info": {
            "name": "updateOrgAdminInvite",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/invites/:invite_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "invite_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a pending organization admin invite, including invitee identity and requested privileges."
        },
        {
          "info": {
            "name": "uninviteOrgAdmin",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.mist.com/api/v1/orgs/:org_id/invites/:invite_id",
            "params": [
              {
                "name": "org_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "invite_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Cancel a pending organization admin invite by invite ID."
        }
      ]
    }
  ],
  "bundled": true
}