Skip to main content

recordParentalConsentWithdrawal

OPERATOR: record a parent's withdrawal of consent to one medium (VOICE or VIDEO) for one player in one app, when it reached Crowded Kingdoms by email rather than through the consent service. It ends the consent as the service's own withdrawal does, recomputes the player's communication settings (a minor's medium goes back to OFF) and tells the realtime servers (P2P_SOCIAL_REFRESH) when that changes what they read, so live sessions apply it within a second. withdrawn is false when no consent was held; the settings are recomputed all the same, so calling it again is safe. NOT_FOUND unless the player has a grant or a consent in the app. Send the identity session to the app's datacenter.

recordParentalConsentWithdrawal(
appId: BigInt!
userId: BigInt!
feature: ParentalConsentFeature!
): ParentalConsentWithdrawal!

Arguments​

recordParentalConsentWithdrawal.appId ● BigInt! non-null scalar​

The app the consent was for.

recordParentalConsentWithdrawal.userId ● BigInt! non-null scalar​

The player.

recordParentalConsentWithdrawal.feature ● ParentalConsentFeature! non-null enum​

The medium the parent withdrew.

Type​

ParentalConsentWithdrawal object​

The answer to recordParentalConsentWithdrawal: the consent it ended, if one was held, and the player’s communication settings recomputed after it.