POST /groups
Create a new Exclusion Group in a provided project
Servers
- https://api.optimizely.com/v2
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 |
|---|---|---|---|
id |
Integer | No |
The unique identifier for the Exclusion Group |
entities[] |
Array | No |
Array of Group Entities in the Exclusion Group |
entities[].id |
Integer | Yes |
The unique identifier for the Group Entity |
entities[].kind |
String | Yes |
The kind of the Group Entity Valid values:
|
entities[].weight |
Integer | Yes |
The weight of the Group Entity. The weight is a value between 0 and 10000. An entity with weight 5000 will receive 50% of this group's traffic |
project_id |
Integer | Yes |
The Project the Exclusion Group is in |
created |
String | No |
The time when the Exclusion Group was initially created |
name |
String | Yes |
Name of the Exclusion Group |
archived |
Boolean | No |
Whether the group is archived |
description |
String | No |
The description for an Exclusion Group |
last_modified |
String | No |
The last time the Exclusion Group was modified |
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.