curl --request PUT \
--url http://localhost:3000/api/audience/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Audience Name",
"description": "Updated description"
}
'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "VIP Customers",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"description": "High-value customers for priority campaigns"
}curl --request PUT \
--url http://localhost:3000/api/audience/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Updated Audience Name",
"description": "Updated description"
}
'{
"id": "123e4567-e89b-12d3-a456-426614174000",
"organizationId": "123e4567-e89b-12d3-a456-426614174000",
"name": "VIP Customers",
"createdAt": "2024-01-01T00:00:00.000Z",
"updatedAt": "2024-01-01T00:00:00.000Z",
"description": "High-value customers for priority campaigns"
}Audience UUID
"123e4567-e89b-12d3-a456-426614174000"
"123e4567-e89b-12d3-a456-426614174000"
"VIP Customers"
"2024-01-01T00:00:00.000Z"
"2024-01-01T00:00:00.000Z"
"High-value customers for priority campaigns"