Difference between revisions of "M4 API cp delete"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with "=Description= M4 API Device (Connection Point) delete <br><br> =Usage= * Call: '''/api/cp_delete''' * Methods: POST, GET(if allowed, not recommended) <br><br> ===Parameters=== * u - username for authentication. '''Required'''. * cp_id – connection point id. '''Required'''. <br><br> ===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=65fd575c441513bd114b84c7dbdb01e0f2716d2...")
 
 
Line 41: Line 41:
<br><br>
<br><br>


<br><br>
=See also=
=See also=


* [[M2 API]]
* [[M4 API]]

Latest revision as of 11:21, 28 November 2022

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