{
  "opencollection": "1.0.0",
  "info": {
    "name": "Particle Cloud Authentication Products API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Products",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List products",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.particle.io/v1/user/products"
          },
          "docs": "List products the currently authenticated user has access to"
        },
        {
          "info": {
            "name": "Retrieve a product",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.particle.io/v1/products/:productIdOrSlug",
            "params": [
              {
                "name": "productIdOrSlug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve details for a product."
        },
        {
          "info": {
            "name": "List team members",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.particle.io/v1/products/:productIdOrSlug/team",
            "params": [
              {
                "name": "productIdOrSlug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List all team members that are part of a given product. Also, will retrieve all API users for all the products inside the org"
        },
        {
          "info": {
            "name": "Create an API user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.particle.io/v1/products/:productIdOrSlug/team",
            "params": [
              {
                "name": "productIdOrSlug",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create an API user with specified scopes. This API user will have a single non-expiring access token."
        },
        {
          "info": {
            "name": "Update team member",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.particle.io/v1/products/:productIdOrSlug/team/:username",
            "params": [
              {
                "name": "productIdOrSlug",
                "value": "",
                "type": "path"
              },
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a current team member."
        },
        {
          "info": {
            "name": "Remove team member",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.particle.io/v1/products/:productIdOrSlug/team/:username",
            "params": [
              {
                "name": "productIdOrSlug",
                "value": "",
                "type": "path"
              },
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a current team member."
        },
        {
          "info": {
            "name": "Regenerate programmatic user's token",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://api.particle.io/v1/products/:productIdOrSlug/team/:username/token",
            "params": [
              {
                "name": "productIdOrSlug",
                "value": "",
                "type": "path"
              },
              {
                "name": "username",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Regenerate programmatic users token"
        }
      ]
    }
  ],
  "bundled": true
}