Multitech FF240 Server User Manual


 
Appendix B: Customization
Multi-Tech Systems, Inc. FF240-IP Admin User Guide 104
Deleting Contacts
HTTP Request line:
DELETE /ffws/v1/contacts/USERNAME/id HTTP/1.1
HTTP Response Status Codes:
200 OK
Deleted
403 Forbidden
Authenticated user does not have permission to change data associated with
username.
404 Not Found
No user found with that username.
Example:
DELETE /ffws/v1/contacts/admin/6 HTTP/1.1
content-type: application/xml
authorization: Basic YWRtaW46YWRtaW4=
-----------------------------------
HTTP/1.1 200 OK
content-type: application/xml
<?xml version="1.0" encoding="UTF-8"?>
<response>
<message>Deleted</message>
</response>