builtin:synthetic.http.cookies)Set cookies to store state information or instruct the server not to send certain kinds of information.
| Schema ID | Schema groups | Scope |
|---|---|---|
builtin:synthetic.http.cookies |
| HTTP_CHECK - HTTP monitor |
| GET | Managed | https://{your-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:synthetic.http.cookies |
| SaaS | https://{your-environment-id}.live.dynatrace.com/api/v2/settings/schemas/builtin:synthetic.http.cookies | |
| Environment ActiveGate | https://{your-activegate-domain}/e/{your-environment-id}/api/v2/settings/schemas/builtin:synthetic.http.cookies |
To execute this request, you need an access token with Read settings (settings.read) scope. To learn how to obtain and use it, see Tokens and authentication.
| Property | Type | Description | Required |
|---|---|---|---|
Set cookiesenabled | boolean | - | required |
cookies | Set<CookieEntry> | - | required |
CookieEntry object| Property | Type | Description | Required |
|---|---|---|---|
Namename | text | Enclose placeholder values in brackets, for example {email} | required |
Valuevalue | text | Enclose placeholder values in brackets, for example {email} | required |
Domaindomain | text | Enclose placeholder values in brackets, for example {email} | required |
Path (optional)path | text | Enclose placeholder values in brackets, for example {email} | optional |