cURL
curl --request POST \ --url http://localhost:3001/portal-api/catalogues/{catalogue_id}/audiences \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "OrganisationID": 1, "TeamID": 1 }'
{ "ID": 1, "OrganisationID": 1, "TeamID": 1, "CreatedAt": "2023-06-23 21:02", "UpdatedAt": "2023-06-23 21:02" }
Add a new audience to this catalogue. Please note that if the catalog’s visibility is set to ‘public’, the audiences will be ignored
Was this page helpful?