IPAM REST API questions

Hello everyone,
I have never touched SolarWinds before and now I have a task to automate some IPAM tasks using ansible.

I cannot find any useful documentation on this, apart from some Github pages. If anyone can point me to the right document I would appreciate it.

From what I have read so far, my understanding is that the REST API uses SWQL to perform the required action. Is that true? If yes, is there any other method?

What I want to achieve is:


1. Reserve an IP from a specific subnet.
All the information I have here is the subnet. Is it sufficient?

2. Release (Delete reservation, return IP to pool) IP.
In this case I only have the IP. Is it sufficient?

Has anyone examples of those actions using Ansible or Curl?