{
  "synLogic": "int $ret \u003d $api($1, $2, $3, $4);",
  "help": "The ns_remove_cookie api removes a cookie from the list of cookies available to a Vuser. This api specifies the name of the cookie to remove",
  "notes": "Vusers do not use (access or modify) the cookies that are stored by your browser. Instead, each script uses the cookies that are sent to the Vuser by the server host at runtime. These cookies are maintained only while the script runs. The ns-cookie functions (ns_add_cookie_val_ext, ns_remove_cookie, and ns_cleanup_cookies) only manipulate these temporary cookies.\n\nYou can refine the API\u0027s usage by specifying the path and/or domain cookie attributes from the original api call. This enables you to delete one cookie among cookies with identical names, but different path and/or domain attributes. Note that if you delete a cookie using only the Cookie name (without the path or domain), the api deletes all cookies with that name, disregarding their domain and path.\n\nns_remove_cookie is added by the user when enhancing the script. It is not recorded",
  "returns": "int",
  "arguments": "\u003ctable class\u003d\"newGuiTable\" style\u003d\"width:100%\" \u003e \u003ctr\u003e \u003cth\u003e Argument \u003c/th\u003e \u003cth\u003e Description \u003c/th\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Name  \u003c/td\u003e \u003ctd\u003e This is a pointer to a string that contains the name of the cookie to be removed. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Path  \u003c/td\u003e \u003ctd\u003e This is a pointer to a string that specifies the path of the cookie to be removed. If set to \"/\", the cookie is valid for all paths. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Domain  \u003c/td\u003e \u003ctd\u003e This is a pointer to a string that specifies the domain of the cookie to be removed. If set to \"NULL\", the cookie is valid for all domains. \u003c/td\u003e \u003c/tr\u003e \u003ctr\u003e \u003ctd\u003e Free for next req  \u003c/td\u003e \u003ctd\u003e This is an integer value (0 or 1) that specifies whether the cookie should be removed only for the current request (0) or for all subsequent requests (1). \u003c/td\u003e \u003c/tr\u003e \u003c/table\u003e",
  "parameterization": "Parameterization is not applicable to this Api",
  "name": "ns_remove_cookie",
  "syntax": "int ns_remove_cookie (char *name, char *path, char *domain, int free_for_next_req)",
  "javaSyntax": "",
  "cEx": "flow()\n{\n  // Here cookie X-ETag is removed \n  ns_remove_cookie(\"X-ETag\", \"/\", \"NULL\", 1);\n}",
  "javaEx": "",
  "insertStrC": "(char *name, char *path, char *domain, int free_for_next_req);",
  "insertStrJava": "",
  "description": "Removes the specified cookie",
  "component": [
    {
      "id": "$1",
      "type": "TextField",
      "label": "Name",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Name",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
      }
    },
	{
      "id": "$2",
      "type": "TextField",
      "label": "Path",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Path",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
      }
    },
	{
      "id": "$3",
      "type": "TextField",
      "label": "Domain",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Domain",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Text",
        "required": true
      }
    },
	{
      "id": "$4",
      "type": "TextField",
      "label": "Free for next req",
      "labelVarCheckbox": "",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter next req",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "validate": {
        "inputType": "Number",
        "required": true,
        "min": 0,
        "max": 2147483647
      }
    },
	{
      "id": "$ret",
      "type": "TextField",
      "label": "Return Value",
      "value": "",
      "css": "p-grid p-align-center w-100-p",
      "title": "Enter Return Value",
      "placeHolder": "",
      "style": "",
      "isDisabled": "",
      "labelVarCheckbox": "",
      "argIndex": 0,
      "validate": {
        "inputType": "Text",
        "disabled": false,
        "required": false,
        "min": 0,
        "max": 0
      }
    }
  ]
}