Mutation
update_site_request_header
Updating an existing request header for a site.
Input Fields
id():
ID!
The unique identifier of the request header to update.
request_header():
RequestHeaderInput!
The request header to update.
Return Fields
request_header():
RequestHeader!
The updated request header.
Example
Query
mutation UpdateSiteRequestHeader($input: UpdateSiteRequestHeaderInput!) {
update_site_request_header(input: $input) {
request_header {
id
name
value
scope_prefix
}
}
}
Variables
{
"input": {
"id": "1",
"request_header": {
"name": "newname",
"value": "new value",
"scope_prefix": "new scope"
}
}
}