{
  "opencollection": "1.0.0",
  "info": {
    "name": "Argyle Accounts Users API",
    "version": "2.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://api.argyle.com/v2/users",
            "params": [
              {
                "name": "limit",
                "value": "",
                "type": "query",
                "description": "Number of user objects returned [per page](/api-guide/overview#pagination). Default: 10. Maximum: 200.\n"
              },
              {
                "name": "external_id",
                "value": "",
                "type": "query",
                "description": "Filter users by `external_id`. Exact matches only."
              },
              {
                "name": "cursor",
                "value": "",
                "type": "query",
                "description": "The URL returned in `next` or `previous` used to retrieve another [page](/api-guide/overview#pagination) of results."
              }
            ]
          },
          "docs": "Returns a paginated list of all user objects."
        },
        {
          "info": {
            "name": "Create a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://api.argyle.com/v2/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Creates a new user object. Includes a new [user token](/link/user-tokens) in the response."
        },
        {
          "info": {
            "name": "Retrieve a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.argyle.com/v2/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the user object to be retrieved."
              }
            ]
          },
          "docs": "Retrieves a user object."
        },
        {
          "info": {
            "name": "Update a user",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.argyle.com/v2/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the user object to be updated."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Updates a user object."
        },
        {
          "info": {
            "name": "Delete a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://api.argyle.com/v2/users/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "ID of the user object to be deleted."
              }
            ]
          },
          "docs": "Deletes a user object.\n\n<Warning>Deleting a user object will also delete all accounts and resources associated with the user.</Warning>\n"
        }
      ]
    }
  ],
  "bundled": true
}