{
  "opencollection": "1.0.0",
  "info": {
    "name": "Dynamic Allowlists Users API",
    "version": "v0"
  },
  "request": {
    "auth": {
      "type": "bearer",
      "token": "{{bearerToken}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get users for an environment.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/users",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "The ID of the Dynamic environment (project)."
              },
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Maximum number of items to return."
              },
              {
                "name": "offset",
                "value": "",
                "type": "query",
                "description": "Number of items to skip for pagination."
              },
              {
                "name": "filterValue",
                "value": "",
                "type": "query",
                "description": "Optional filter (for example an email or alias) to search users by."
              }
            ]
          },
          "docs": "Returns a paginated list of users authenticated into the specified environment."
        },
        {
          "info": {
            "name": "Get a user by ID.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/users/:userId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "The ID of the Dynamic environment (project)."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ]
          },
          "docs": "Returns the specified user, including linked verified credentials."
        },
        {
          "info": {
            "name": "Update a user.",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/users/:userId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "The ID of the Dynamic environment (project)."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates metadata and fields for the specified user."
        },
        {
          "info": {
            "name": "Delete a user.",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://app.dynamicauth.com/api/v0/environments/:environmentId/users/:userId",
            "params": [
              {
                "name": "environmentId",
                "value": "",
                "type": "path",
                "description": "The ID of the Dynamic environment (project)."
              },
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "The ID of the user."
              }
            ]
          },
          "docs": "Permanently deletes the specified user from the environment."
        }
      ]
    }
  ],
  "bundled": true
}