Closed JonTheNiceGuy closed 5 months ago
API endpoint is: /api/<API_NAME>/tools/locations/
. e.g.
curl https://phpipam.example.org/api/terraform/tools/locations/ -H "token: DECAFBAD1234567890abcdefghijklmnopq"
{"code":200,"success":true,"data":[{"id":"1","name":"Greenwich","description":null,"address":null,"lat":"51.477928","long":"-0.001545"}],"time":0.003}
Required fields for the resource are:
name, description, address, lat and long.
@pavel-z1
Hi @JonTheNiceGuy We do not have a phpipam tools controller in either the PHPIMAM SDK or the PHPIPAM Terraform Provider I have no plans to develop this controller for SDK and Terraform Provider.
You feel free to develop this controller and create Pull requests to SDK project and here.
Closing for long inactivity.
It would be useful to be able to define, or look up a location from the PHPIPAM service.