Ozeki 10 SMS Gateway
Delete message list in a folder Delete message list in a folder | Examples Examples

HTTP API - Delete folder items from an Ozeki SMS Gateway message folder

This example allows you to delete all the items of a message folder in Ozeki NG SMS Gateway. You need to specify which folder's items you wish to delete. These items will be deleted from the hard disc permanently (messages will not be placed into "Deleted" folder).

Type this address into your browser:

http://127.0.0.1:9501/api?action=deletefolderitems&username=admin&password=abc123&folderName=sent
&items=1be64500-25a7-45e0-b799-61efb6c315fc,7bbc96a7-0dd0-40aa-8454-d6a88180e987

Provide the follows:

"action": "deletemessagelist"
"username": your username used to log into Ozeki NG SMS Gateway
"password": your password in Ozeki NG SMS Gateway
"folderName": specify the folder from which you wish to delete items
"items": here specify the GUID of the messages (separate them with commas)

The response:

<Response>
         <Action>deleteFolderItems</Action>
         <Data>OK</Data>
</Response>
 
Copyright © 2000- - Ozeki Ltd | info@ozeki.hu
Home > Developers guide > HTTP API > Operations with message folders > Delete folder items
Legal | Privacy | Terms of use | 5691
18.208.126.130 | 92.118.27.157 | Login