PATCH /audiences/{audience_id}
Update an Audience for a Project
Servers
- https://api.optimizely.com/v2
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
audience_id |
Integer | Yes |
The Audience ID of the Audience you want to change |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
name |
String | No |
The name of the Audience |
archived |
Boolean | No |
True if the Audience has been archived |
description |
String | No |
A short description of the Audience |
conditions |
String | No |
A string defining the targeting rules for an Audience |
segmentation |
Boolean | No |
True if the Audience is available for segmentation on the results page (Enterprise plans only) |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.