[API BUG] Edit Server https://www.softaculous.com/board/index.php?tid=14956 <![CDATA[[API BUG] Edit Server]]> https://www.softaculous.com/board/index.php?tid=14956&tpg=1#p45077
Sir we will update the documentation soon with the changes.

Thank you.

Let us know for further information.
We will be happy to help you.]]>
Fri, 22 Feb 2019 13:25:22 GMT https://www.softaculous.com/board/index.php?tid=14956&tpg=1#p45077
<![CDATA[[API BUG] Edit Server]]> https://www.softaculous.com/board/index.php?tid=14956&tpg=1#p45076
HOWEVER, your documentation located at https://www.virtualizor.com/admin-api/edit-server implicitly states to pass a 1/0 in that var which is where the confusion started. 

Would it be possible to have API documentation updated?

Lastly,
You guys are doing an awesome job keep it up!]]>
Fri, 22 Feb 2019 12:35:56 GMT https://www.softaculous.com/board/index.php?tid=14956&tpg=1#p45076
<![CDATA[[API BUG] Edit Server]]> https://www.softaculous.com/board/index.php?tid=14956&tpg=1#p45074
Sir there is not bug in this API call.

If you want to unlock the server, just do not pass the 'locked' key in array.
It will get unlocked.

Please check and let us know.]]>
Fri, 22 Feb 2019 10:47:52 GMT https://www.softaculous.com/board/index.php?tid=14956&tpg=1#p45074
<![CDATA[]]> https://www.softaculous.com/board/index.php?tid=14956&tpg=0#p45068
PHP Code

 $post = array();
$post['server_name'] = "TEST SERVER";
$post['locked'] = 1;
$post['serid'] = 12;
$post['ip'] = "xx.xx.xx.xx";
$post['sgid'] = 3



However, It will not UNLOCK the server when running these headers.
PHP Code

 $post = array();
$post['server_name'] = "TEST SERVER";
$post['locked'] = 0;
$post['serid'] = 12;
$post['ip'] = "xx.xx.xx.xx";
$post['sgid'] = 3


We're literally just changing the "locked" value to 0, The API says that it has succeeded, but does not update the locked value.]]>
Fri, 22 Feb 2019 05:23:21 GMT https://www.softaculous.com/board/index.php?tid=14956&tpg=0#p45068