This API allows you to update an existing audience. Example request body:

when listOfConditions selected
{
  "name": "Engineers",
  "type": "conditions",
  "listOfPeople": [], // this should be set to empty array 
  "listOfConditions": [
    {
      "name": "department",
      "label": "Department",
      "values": [
        {
          "id": "Engineering",
          "name": "Engineering", // required in values
        }
      ]
    }
  ]
}
when listOfPeople selected {
  "name": "Engineers",
  "type": "people",
  "listOfPeople": [], // array of user ids
  "listOfConditions": [] // this should be set to empty array 
} ```

 
Language
Credentials
OAuth2
Authenticate
URL
Click Try It! to start a request and see the response here!