{
  "opencollection": "1.0.0",
  "info": {
    "name": "Knowi Management Authentication Groups API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Groups",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://knowi.com/api/1.0/groups"
          },
          "docs": "List all groups in the workspace."
        },
        {
          "info": {
            "name": "Create group",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://knowi.com/api/1.0/groups"
          },
          "docs": "Create a new group."
        },
        {
          "info": {
            "name": "Get group",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://knowi.com/api/1.0/groups/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve a group by ID."
        },
        {
          "info": {
            "name": "Update group",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://knowi.com/api/1.0/groups/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Update a group."
        },
        {
          "info": {
            "name": "Delete group",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://knowi.com/api/1.0/groups/:groupId",
            "params": [
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete a group."
        },
        {
          "info": {
            "name": "List user groups",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://knowi.com/api/1.0/users/:userId/groups",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "List groups associated with a specific user."
        },
        {
          "info": {
            "name": "Create group for user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://knowi.com/api/1.0/users/:userId/groups",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Create a group associated with the specified user."
        },
        {
          "info": {
            "name": "Remove group from user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://knowi.com/api/1.0/users/:userId/groups/:groupId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              },
              {
                "name": "groupId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Remove a group association from a user."
        }
      ]
    }
  ],
  "bundled": true
}