MAPI Manual

NAME

DELETE_FILE_BYNAME

FUNCTION

Delete file by file_name

SYNOPSIS

file_name

DESCRIPTION

This function allows users to delete a file by file_name.

Required Parameters

* action: DELETE_FILE_BYNAME.

* file_name: file name. Note: This is the file name defined by the system. Not the display name.

RETURN DATA

The response contains the following attribute:

* msg: Success or error message.

ROLE PERMITTED

Manager

EXAMPLES

The following example shows a successful HTTP GET request and response.

Request:

http://app02.yvntech.com/MapIHttpS/MapIS?action=DELETE_FILE_BYNAME&file_name=9000.IVR_SOUND.116.1e732dc6978.mp3&login_name=user@example.com&login_passwd=1111

Response:

<result tftype='1' infotype='0'>
    <field name='msg'>SUCCESS</field>
</result>

TIPS

ENVIRONMENT

AUTHOR

YVN Tech

SEE ALSO

LIST_FILES

Mweb v2.0 YVNTECH 2014