I recall that we introduced the REST API to do that from curl.
We have some details/documentation in DTP API swagger docs.
Comments
We have some details/documentation in DTP API swagger docs.