Experience Audience - Delete

Soft-deletes an audience; it no longer appears in reads and its name can be reused. The audience must belong to the member group and experience in the path and must not already be deleted, otherwise 404. If the audience was never published, only the audience is marked deleted. If it was published, its targeting option is also marked deleted, the targeting dimension is marked as updating, and an event is sent on the enterprise service bus so that ad groups targeting the option are invalidated or rebuilt by the consumer. There is no unpublish operation. Returns 204 with no body. Requires the audience_builder_management permission (delete). The caller's own member group must match memberGroupId unless the caller belongs to the Koddi member group (id 1), otherwise 403. Granted to Super Admin, Internal Admin and Client Admin by the migration that created the permission. Only available when the is-audience-builder-enabled feature flag is on for the caller; otherwise 404.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Soft-deletes an audience. It no longer appears in reads and its name can be used again. If the audience was published, its targeting option is also deleted and a message is sent on the service bus so that ad groups targeting that option are invalidated or rebuilt. Unpublished audiences are only marked deleted. Audiences cannot be unpublished.

Callers need the audience builder permission (delete), which the Super Admin, Internal Admin and Client Admin roles have. The caller's member group must match memberGroupId unless the caller belongs to the Koddi member group. The endpoint is only available when the audience builder feature is enabled for the caller.

Inputs

Field Type Description Required
memberGroupId integer (path) The member group id (provided by Koddi) Yes
experienceId integer (path) The experience ID Yes
audienceId integer (path) The audience ID Yes

Response

Returns HTTP 204 with no response body.

Path Params
int32
required

The member group id (provided by Koddi)

int32
required

The experience ID

int32
required

The audience ID

Responses
204

No Content. The audience was deleted.

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json