{
  "opencollection": "1.0.0",
  "info": {
    "name": "AI Advisor AiAdvisorDataService TenantUserService API",
    "version": "v202511"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-CH-Auth-Email",
      "value": "{{X-CH-Auth-Email}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "TenantUserService",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List users for a tenant.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/mkp/v202407/tenants/:tenantId/users",
            "params": [
              {
                "name": "tenantId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Returns a list of users associated with the specified tenant."
        },
        {
          "info": {
            "name": "Add a user to a tenant.",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/mkp/v202407/tenants/:tenantId/users",
            "params": [
              {
                "name": "tenantId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the tenant the user belongs to"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a user association with the specified tenant."
        },
        {
          "info": {
            "name": "Update a tenant user.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/mkp/v202407/tenants/:tenantId/users/:id",
            "params": [
              {
                "name": "tenantId",
                "value": "",
                "type": "path",
                "description": "Unique identifier of the tenant the user belongs to"
              },
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "Unique system assigned identifier of the user"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates the user associated with the specified tenant and user ID."
        },
        {
          "info": {
            "name": "Remove a user from a tenant.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/mkp/v202407/tenants/:tenantId/users/:id",
            "params": [
              {
                "name": "tenantId",
                "value": "",
                "type": "path"
              },
              {
                "name": "id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Deletes the user association with the specified tenant."
        }
      ]
    }
  ],
  "bundled": true
}