Skip to main content

ViewerSetActiveCampaign

Update the Viewer's active Campaign

ViewerSetActiveCampaign(
campaignId: ID
): ViewerSetActiveCampaignUnion!

Arguments​

ViewerSetActiveCampaign.campaignId ● ID scalar​

The ID of the Campaign you wish to set as active. If no value is provided, the active Campaign will be unset (personal team will be active).

Type​

ViewerSetActiveCampaignUnion union​

If mutation is successful, the Viewer will be returned, otherwise a MutationError is returned.