Publishing drag&drop templates from the API


Anyone have experience with publishing drag&drop templates (not coded files) within the API?

I have found the way to update an existing one in the v2 layouts API and the layout_data var.

For publishing I added a bunch of different variables to try to publish it I get a 201 response (Created) but I can't see it in the new IDE beta, even if I assign a folder, folder_id, category_id neither -there is a similar issue with CM but that solved the issue for CMs- but nothing work to display it in the new IDE. I know that it was created because I can't republish with the same bunch of variables because I get an error about this template with this name already exists. But at the same time I can't edit it with the ID provided in the response... reeally weird :persevere: