{
  "opencollection": "1.0.0",
  "info": {
    "name": "iTwin Control Access Users API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://ims.bentley.com/connect/authorize",
      "accessTokenUrl": "https://ims.bentley.com/connect/token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get IModel Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/accesscontrol/:iModelId/users",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get IModel Users"
        },
        {
          "info": {
            "name": "Get IModel User",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/accesscontrol/:iModelId/users/:userId",
            "params": [
              {
                "name": "iModelId",
                "value": "",
                "type": "path"
              },
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get IModel User"
        },
        {
          "info": {
            "name": "Get Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/accesscontrol/users"
          },
          "docs": "Get Users"
        },
        {
          "info": {
            "name": "Create User",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.bentley.com/accesscontrol/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create User"
        },
        {
          "info": {
            "name": "Get Users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.bentley.com/accesscontrol/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Get Users"
        },
        {
          "info": {
            "name": "Update User",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.bentley.com/accesscontrol/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update User"
        },
        {
          "info": {
            "name": "Delete User",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.bentley.com/accesscontrol/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Delete User"
        }
      ]
    }
  ],
  "bundled": true
}