Duplicate site with API


Is there a way to duplicate a site using API ?
In my usecase, I configure a site with my private gitlab repository and then need to duplicate the site with just a different environment variable and domain.
I would like them to deploy automatically when I commit/push to that repository.

Best regards

Hey there, @brunocc :wave:

Thanks for reaching out! Have you seen this thread? I think it may help get you on the right track:

Let us know!