New: Kith open-sources its ATS.Read why
Skip to Content
Mutations

updateRestriction

Change a do-not-contact rule's kind, reason, source or last day. A field left out is unchanged, and null clears it. To end a rule on a day and keep the record, set until. The same input twice leaves the same rule.

updateRestriction(
  input: UpdateRestrictionInput!
): UpdateRestrictionPayload!

Arguments

updateRestriction.input · UpdateRestrictionInput! non-null input

The rule and what to change on it.

Type

UpdateRestrictionPayload object

The rule that was changed.