Update an audience
PATCH/projects/:project/audiences/:audience
Changes only what you send. name on its own renames the audience. conditions replaces the whole set of conditions; it is never merged into the old one. Tests that already use the audience keep the conditions they copied, so an edit reaches only the tests that apply it next. Needs an editor or publisher key, and a plan that includes saved audiences.
Request
Responses
- 200
- 401
- 403
- 404
- 422
- 429
The audience as it is now.
The key is missing, wrong, revoked or expired.
The key is a viewer (forbidden), the plan has no API access (feature_unavailable), or the account cannot make changes right now (account_read_only).
Nothing at this address, or it belongs to a project the key cannot reach.
A field is wrong, or the plan does not include saved audiences. errors lists each field and why.
Too many calls. Wait for the number of seconds in Retry-After.
Response Headers
Seconds to wait before calling again.