-
Notifications
You must be signed in to change notification settings - Fork 24
ClearCookie
Miriam McMahon edited this page Apr 27, 2023
·
7 revisions
Remove a cookie from the cookie storage to eliminate it from future HTTP requests.
Parameter Name | Description | Type | Resolved Type | Required |
---|---|---|---|---|
Name | The name of the cookie to remove | Value | String | Yes |
Domain | The domain of the cookie to remove | Value | String | Yes |
Path | The path of the cookie to remove; defaults to / | Value | String | No |
This command was introduced in Safeguard 2.8
Example:
{
"ClearCookie": {
"Name": "session_cookie",
"Domain": "example.com",
"Path": "/api"
}
}
Example: using variables:
{
"ClearCookie": {
"Name": "%{ Cooke1 }%",
"Domain": "%{ SearchDomain }%",
"Path": "%{ SelectedPath }%"
}
}