{
  "opencollection": "1.0.0",
  "info": {
    "name": "Gainsight CS Bulk Accounts Users API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "accessKey",
      "value": "{{accessKey}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Gainsight List users",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gainsightcloud.com/v1/users",
            "params": [
              {
                "name": "pageNumber",
                "value": "",
                "type": "query",
                "description": "Page number"
              },
              {
                "name": "pageSize",
                "value": "",
                "type": "query",
                "description": "Records per page"
              }
            ]
          },
          "docs": "Retrieve a list of Gainsight users."
        },
        {
          "info": {
            "name": "Gainsight Create or update a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gainsightcloud.com/v1/users",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a new user or update an existing user in Gainsight PX."
        },
        {
          "info": {
            "name": "Gainsight Get a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://{domain}.gainsightcloud.com/v1/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Gainsight user ID"
              }
            ]
          },
          "docs": "Retrieve a specific Gainsight user by ID."
        },
        {
          "info": {
            "name": "Gainsight Update a user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "https://{domain}.gainsightcloud.com/v1/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Gainsight user ID"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update a Gainsight user record."
        },
        {
          "info": {
            "name": "Gainsight Update a user",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://{domain}.gainsightcloud.com/v1/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Unique user identifier"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Update specific attributes of a user."
        },
        {
          "info": {
            "name": "Gainsight Delete a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://{domain}.gainsightcloud.com/v1/users/:userId",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Unique user identifier"
              }
            ]
          },
          "docs": "Delete a user from Gainsight PX."
        },
        {
          "info": {
            "name": "Gainsight Deactivate a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://{domain}.gainsightcloud.com/v1/users/:userId/deactivate",
            "params": [
              {
                "name": "userId",
                "value": "",
                "type": "path",
                "description": "Gainsight user ID"
              }
            ]
          },
          "docs": "Deactivate a Gainsight user account."
        }
      ]
    }
  ],
  "bundled": true
}