Environment officers have taken action against a homeowner who built an embankment without permission.
Natural Resources Wales (NRW) said unpermitted construction work had taken place on the bank of the River Thaw near Cowbridge.
The property owner had built a raised earth embankment around their home to protect it from flooding.
An outfall pipe had also been installed in the riverbank for drainage.
But NRW said there was a risk that the embankment could have diverted floodwater and increased the risk of flooding for neighbouring properties.
The riverbank was swiftly restored to its original state by the homeowner, who complied with a remediation notice from the environmental body.
A specialist team at NRW has investigated over 100 cases of illgeal river works across South Wales since it was formed in 2021.
They advise that people must apply for a permit from NRW if they want to work on or near a main river, a flood or sea defence or in a flood plain.
Tim England, NRW operations manager for flood management, said: "Our enforcement work across South Wales highlights the importance of regulating flood risk activities."
"We aim to educate, advise, and guide offenders while also addressing the impacts of works carried out without permission, using a range of enforcement actions to reduce the risk to people and wildlife."
"This work is an integral part of managing flood risk, helping nature to recover and making our communities more resilient to climate change."
NRW says their approach is to have constructive talks with offenders to provide advice and guidance about responsible practices to reduce the risks involved.
But some cases require interventions, such as enforcement notices, to remediate any harmful effects caused by the unpermitted activity.

South Wales man turns personal loss into a project helping families plan for the future
Vale of Glamorgan recognised as a County of Sanctuary
Vale secures £213,000 for cycling improvements ahead of Tour de France
Orphaned beavers Bryn and Beti make new home in Vale of Glamorgan
Penarth Athletic Club: One year after the clubhouse fire
Former Barry Wilko to host Christmas markets and family activities
EgyptAir Cargo to use Cardiff Airport as new freight gateway
Transport for Wales launches journey alerts to help passengers stay one step ahead with personalised updates
Barry Castle talk sparks community interest in Barry’s hidden past
Barry Town United and Vale Domestic Abuse Services have joined forces in a community partnership
Couple celebrates arrival of rare quadruplets at UHW
Transport for Wales to run extra overnight services for Fury vs Joshua Fight
Tributes paid following death of long-serving Penarth councillor Anthony Ernest
Network Rail to seek permanent closure of Brookside level crossing in Dinas Powys
PCSO says ‘going home’ is his favourite thing about Barry during Christmas event
Wales & West Utilities urges households to protect their homes to keep families safe this winter
Record turnout at Vale DAS White Ribbon vigil sends powerful message on violence against women
Candlelight vigil to mark White Ribbon Day 2026