{
  "opencollection": "1.0.0",
  "info": {
    "name": "ToolJet External Applications Users API",
    "version": "1.0.0"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List all users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}/api/ext/users"
          },
          "docs": "List all users"
        },
        {
          "info": {
            "name": "Create a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{instance}/api/ext/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a user"
        },
        {
          "info": {
            "name": "Get a user by ID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}/api/ext/user/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User UUID"
              }
            ]
          },
          "docs": "Get a user by ID"
        },
        {
          "info": {
            "name": "Update a user",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{instance}/api/ext/user/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User UUID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a user"
        },
        {
          "info": {
            "name": "Replace user workspaces",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{instance}/api/ext/user/:id/workspaces",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User UUID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Replace user workspaces"
        },
        {
          "info": {
            "name": "Update user workspace membership",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{instance}/api/ext/user/:id/workspace/:workspaceId",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User UUID"
              },
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace UUID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update user workspace membership"
        },
        {
          "info": {
            "name": "Get user metadata in workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{instance}/api/ext/workspace/:workspaceId/user/:userId",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace UUID"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User UUID"
              }
            ]
          },
          "docs": "Get user metadata in workspace"
        },
        {
          "info": {
            "name": "Update user metadata in workspace",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{instance}/api/ext/workspace/:workspaceId/user/:userId",
            "params": [
              {
                "name": "workspaceId",
                "value": "",
                "type": "path",
                "description": "Workspace UUID"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "User UUID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update user metadata in workspace"
        }
      ]
    }
  ],
  "bundled": true
}