Unlink a play campaign from an adventure
imagine_unlink_adventure_from_campaignRemove a play campaign from an adventure's playCampaignIds[]. Inverse of imagine_link_adventure_to_campaign; the adventure drops out of the campaign's imagineAdventures[] (session tags are left in place — inert while unlinked, re-lit on re-link). A link to a campaign that no longer exists is still removed. Caller must be the campaign's owner or gamemaster and have 'edit' access on the adventure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Mongo `_id` of the adventure. | |
| campaignId | Yes | Mongo `_id` of the play campaign to link. Get it from `play_list_my_campaigns` or `play_list_participated_campaigns`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||