POST /contacts/v1/contacts/actions/restrict?type=listReference

Overview

Restricts processing for contacts identified by listReference values in the request. This operation runs asynchronously. Use the OperationID value returned to check the status of the delete.

NameTypeDescription
targetListobjectObject used to identify list. Can include ListType and ListKey objects.
targetList.ListTypeobjectObject that includes list type information. Can include listTypeID or ListTypeKey. The only valid value for ListTypeID is 3, indicating a data extension.
targetList.listKeystringID used to identify the list in Marketing Cloud.
deleteListWhenCompletedbooleanIndicates whether to delete the list after requesting it. This option does not apply to lists identified by ID, key, or reference. If this option is true, the process skips lists marked as not deletable, issues a warning, and continues processing remaining lists.
deleteListContentsWhenCompletedbooleanIndicates whether to delete the contents of a list after requesting it. This option does not apply to lists identified by ID, key, or reference. If this option is true, the process skips lists marked as not deletable, issues a warning, and continues processing remaining lists.