listmonk unofficial
PUT/campaigns/{id}/archive

Replace campaign archive settings

Replaces the archive settings for a campaign. Use archive to set the archive state and archive_template_id or archive_meta to provide related archive configuration.

1 parameter · 3 body fields
idintegerrequired
The unique integer identifier of the campaign whose archive settings you want to change.

Optional campaign archive settings.

archivebooleanoptional
Whether the campaign should be archived.
archive_template_idintegeroptional
The integer identifier of the template to use for the archive.
archive_metaobjectoptional
Additional archive metadata.

1 status code
200Returns a boolean indicating the result of the archive settings update.
databooleanoptional

Error handling

The id path parameter must identify the campaign whose archive settings you want to replace. The request body fields are optional and have no additional schema constraints.