Skip to main content

updatePolicy

Update or insert the properties of a single policy

GraphQL Schema​

extend type mutation {
"""Update or insert the properties of a single policy"""
updatePolicy(input: UpdatePolicyInput): UpdatePolicyPayload
}

Arguments​

NameTypeDescription
input[UpdatePolicyInput](/04-reference/05-Input Objects/UpdatePolicyInput.mdx)

Response Shape​

This mutation returns UpdatePolicyPayload

NameTypeDescription
successBoolean!Whether the mutation was successful
errorErrorTypeError information
policyPolicy