patch
https://api.clerk.io/v2/audiences
Update audience definitions. Use GET /audiences to confirm the updated audience.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Submit an audience update using a JSON body containing key, private_key, and an audiences array. Include the existing generated id, the desired name, and conditions. The example supplies the complete object fields rather than an ID-and-name-only update.
The Internal error response example shows an unsuccessful request, not an acknowledgement. When status is error, do not assume that the audience changed. Use GET /audiences to verify the stored definition.
Check status in the response body even when HTTP 200 is returned. Keep your private API key on your server.
