Audiences

Update an audience

Creates or replaces an audience from a filter and an AND or OR operator. Membership recalculates automatically as profiles change.

put/audiences/{audience_id}

Path parameters

audience_idstring required

A unique identifier representing the audience id

Request body

namestring nullable

The name of the audience

descriptionstring nullable

A description of the audience

operator'AND' | 'OR'

Response

Changes

Changed in 4 of the 55 revisions of this API.88

    • added the new optional request property filter/operator

      new-optional-request-property

    • added the optional property audience/filter/operator to the response with the 200 status

      response-optional-property-added

  • e3e54d99e2a764See the full diff
    • added the new required request property filter/filters

      new-required-request-property

    • removed SingleFilterConfig NestedFilterConfig from the filter request property oneOf list

      request-property-one-of-removed

    • the filter request property type/format changed from / to object/

      request-property-type-changed

    • the response property audience/filter became nullable for the status 200

      response-property-became-nullable

    • the response property audience/filter became optional for the status 200

      response-property-became-optional

    • the audience/filter response's property type/format changed from / to object/ for status 200

      response-property-type-changed

    • added the new optional request property operator

      new-optional-request-property

    • added the optional property audience/operator to the response with the 200 status

      response-optional-property-added

    • removed SingleFilterConfig NestedFilterConfig from the audience/filter response property oneOf list for the response status 200

      response-property-one-of-removed

    • added the required property audience/filter/filters to the response with the 200 status

      response-required-property-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added NestedFilterConfig to the audience/filter response property oneOf list for the response status 200

      response-property-one-of-added

    • added NestedFilterConfig to the filter request property oneOf list

      request-property-one-of-added

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • removed NestedFilterConfig from the filter request property oneOf list

      request-property-one-of-removed

    • removed NestedFilterConfig from the audience/filter response property oneOf list for the response status 200

      response-property-one-of-removed

    This revision also has 93 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog