setConsentMutation
Record or update a single consent for a member.
Arguments
Returns
See FamilyMemberResult for the full shape.
Try it
Example
Query
mutation SetConsent($member: EntityRef!, $type: ConsentType!, $granted: Boolean!) {
setConsent(member: $member, type: $type, granted: $granted) {
__typename
}
}
Variables
{}
POST
https://go.sessions.website/api/graphqlsetConsent