Inputs
AddRestrictionInput
A do-not-contact rule to set. Give exactly one of personId and companyId.
input AddRestrictionInput {
companyId: ID
kind: RestrictionKind!
personId: ID
reason: String
setById: ID
source: RestrictionSource
until: Date
}Fields
AddRestrictionInput.companyId · ID scalar
The company the rule is on.
AddRestrictionInput.kind · RestrictionKind! non-null enum
What must not be done.
AddRestrictionInput.personId · ID scalar
The person the rule is on.
AddRestrictionInput.reason · String scalar
Why, in words. 10,000 characters at most.
AddRestrictionInput.setById · ID scalar
The member who set it, when that is not the caller. The caller, when left out. Must be a member of this workspace.
AddRestrictionInput.source · RestrictionSource enum
Where the rule came from.
AddRestrictionInput.until · Date scalar
The last day it holds. Left out, it has no end.
Member Of
addRestriction mutation