Replace an audience for a path session

Required OAuth scope: paths:write.

Replaces the audience in the given path and session with the provided one. Audience not included is removed.

Path Params
string
required

The unique ID of the path.

string
required

The unique ID of the path session.

Body Params
filters
array
required
length ≤ 3

The list of filters in the audience. The maximum filters array size is 3.

filters*
string
enum
required

The audience builder update mode. Options are:

  • dynamic: Learners are dynamically enrolled and unenrolled.
  • dynamicEnrollment: Learners are dynamically enrolled.
  • dynamicUnenrollment: Learners are dynamically unenrolled.
  • manual: The audience is manually updated.
Allowed:
Headers
string
enum
required

The version of the API.

Allowed:
Responses

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