Admin API/Common objects/Mutations
policyPageUpdate
mutationOstorya extensionEdits one policy page: title, text (one paragraph per line) and published.
Returns JSON!
mutation PolicyPageUpdate($handle: String!, $published: Boolean!, $text: String!, $title: String!) {
policyPageUpdate(handle: $handle, published: $published, text: $text, title: $title)
}
# Variables
{
"handle": "",
"published": true,
"text": "",
"title": ""
}