{
  "opencollection": "1.0.0",
  "info": {
    "name": "Thought Industries REST Content Users API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-API-Key",
      "value": "{{X-API-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.thoughtindustries.com/incoming/api/v1/users",
            "params": [
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Page number for pagination."
              },
              {
                "name": "per_page",
                "value": "",
                "type": "query",
                "description": "Number of records per page (max 100)."
              },
              {
                "name": "email",
                "value": "",
                "type": "query",
                "description": "Filter users by email address."
              }
            ]
          },
          "docs": "Returns a paginated list of all users in the tenant. Default page size is 25. Use page and per_page parameters for pagination."
        },
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{subdomain}.thoughtindustries.com/incoming/api/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user in the tenant. Email must be unique per tenant."
        },
        {
          "info": {
            "name": "Get User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{subdomain}.thoughtindustries.com/incoming/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User ID."
              }
            ]
          },
          "docs": "Returns details for a single user by ID."
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{subdomain}.thoughtindustries.com/incoming/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User ID."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a user record. Full object replacement semantics apply. To deactivate a user, set active to false."
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{subdomain}.thoughtindustries.com/incoming/api/v1/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "User ID."
              }
            ]
          },
          "docs": "Permanently deletes a user. Deactivation is preferred over deletion."
        }
      ]
    }
  ],
  "bundled": true
}