Prevent Agent closes the Ticket notification via REST-API

Hi,

I’m looking for a way to prevent the ‘Agent closes the Ticket’ notification when a ticket is closed via the REST API?

Is this possible? Haven’t found anything in the documentation.

Regards,
Mats Wallin