Untitled Page
API Overview
Example
Customers  
Companies  
Technicians  
Technician Groups  
Tickets  
Ticket History  
Ticket Attachments  
Billing Line Items  
Billing Invoices  
Time Tracking  
Knowledge Base Articles  
Scheduling  
Asset Managements  
 
delete_attachment
To prevent loss of data, only one attachment may deleted at a time. No wildcards are accepted.
Input Variable Input Value Description
tid String value Required Ticket ID the attachment is associated with.
name String value Required The file name to delete.

Output Variable URL Encoded Description
deleted_file No File name of the attachment that was deleted.
Example Usage
http://localhost/API/default.aspx?key=your key here&action=delete_attachment&tid=35&name=test.txt
Example Response
XML:
<?xml version="1.0"?>
<response>
    <deleted_file>test.txt</deleted_file>
</response>
JSON:
{
	"response": [
		{
			"deleted_file" : "test.txt"
		}
	]
}
URL DELIMITED:
deleted_file=test.txt