Skip to main content
Version: 6.0.0

SysRemoveAllCampaignsForUser

Removes a player's participation in all campaigns, deleting all their CampaignParticipant records and clearing the campaigns map from their profile.

ServiceOperation
campaignSYS_REMOVE_ALL_CAMPAIGNS_FOR_USER

Method Parameters

ParameterDescription
profileIdThe profile ID of the player to remove all campaigns for.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {},
"status": 200
}
Common Error Code

Status Codes

CodeNameDescription
40206BILLING_PLAN_INCLUDES_CAMPAIGNBilling plan does not include the Campaign feature.