Respondent Exclusions

Update Target Group Project Exclusion Status

Updates the project-level exclusion status for multiple target groups in a single request. When you enable project exclusion for a target group, respondents who complete it will be prevented from entering any other target group within the same project that also has this setting enabled.

put/demand/accounts/{account_id}/projects/{project_id}/exclusion-policies

Request

Path parameters

account_idinteger required

The account's unique identifier.

Example:101
project_idstring required

The character string representing a unique project ID (ULID format).

Example:01BTGNYV6HRNK8K8VKZASZCFP0

A unique identifier for the project, in ULID format.

Request body

target_group_idstring

The ID of the target group to which the exclusion policy should be applied

project_exclusion_enabledboolean

Indicates if project-level exclusion is enabled for this target group.

Example request

[
  {
    "target_group_id": "01HC2Z6TM8C4F3Y5CA6S2JR475",
    "project_exclusion_enabled": true
  }
]

Response

The exclusion policies for the target groups were updated successfully.

object required

Changes

No recorded changes to this operation across all 1 revision of this API.