How to update macro parameters via Rest API

Is there any way to update the parameters of a macro by using the REST API?
I want the user to be able to change them while in view mode, so I should have all the necessary info (pageId, macroId, space, etc).

Is this possible? Also, is there a way to create a new page version for the history while doing so?

Thank you!

@PhilipFeldmann you can achieve that using the update content API: https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-api-content-id-put

A new page version will be created once you update the content.

Cheers

2 Likes