Mutation
update_site_request_cookie
Updating an existing request cookie for a site.
Input Fields
id():
ID!
The unique identifier of the request cookie to update.
request_cookie():
RequestCookieInput!
The request cookie to update.
Return Fields
request_cookie():
RequestCookie!
The updated request cookie.
Example
Query
mutation UpdateSiteRequestCookie($input: UpdateSiteRequestCookieInput!) {
update_site_request_cookie(input: $input) {
request_cookie {
id
name
value
scope_prefix
}
}
}
Variables
{
"input": {
"id": "9",
"request_cookie": {
"name": "cookie-name",
"value": "cookie-value",
"scope_prefix": "www.example.com"
}
}
}