-
Notifications
You must be signed in to change notification settings - Fork 33
Description
Hi,
I have just recently started using the php-api client and am trying to get upto speed with how to use it. I am having trouble assigning the next free IP address in a subnet along with properties and values, ie.. hostname, owner, tag, etc..
The call I am executing is as follows :
$API->execute ("POST", "addresses", array("first_free", 3), array("hostname"=>"api.client.hostname", "description"=>"created by API client" , "owner"=>"API_Client", "tag"=>3), $token_file);
From my understanding of the client, this is how it should be accomplished, however, I am returned the error which clearly indicates I am wrong 😆
Array ( [code] => 400 [success] => 0 [message] => Invalid request key id3 [time] => 0.025 )
Just looking for some help as to what I am doing wrong?
Any help would be appreciated.
Cheers!