Dynamically resize images via the API

Hey there! I’d like to know if it is possible to dynamically resize image attachments via the API.

For instance
http://localhost:18080/api/system/attachment/settings/123/preview.jpg?size=600x600

If anyone can help, I will appreciate it.

Best,
Steph

You could delete and reupload it and use some other service for resizing it