M4 API cp delete

From Kolmisoft Wiki
Jump to navigationJump to search

Description

M4 API Device (Connection Point) delete

Usage

  • Call: /api/cp_delete
  • Methods: POST, GET(if allowed, not recommended)



Parameters

  • u - username for authentication. Required.
  • cp_id – connection point id. Required.



Request

We have API Secret Key = 456789, cp_id = 11

We send:

HTML POST: http://<SERVER_IP>/billing/api/cp_delete?u=admin&cp_id=11&hash=65fd575c441513bd114b84c7dbdb01e0f2716d27

* Note that username is not included in hash

Returns

Success

<?xml version="1.0" encoding="UTF-8"?> <page>

 <status>
   <status>Connection Point deleted</status>
 </status>

</page>






See also