public Attachment deleteAttachment(Attachment attachmentParam)
    {
        if(attachmentParam != null && this.serviceTicket != null)
        {
            attachmentParam.setServiceTicket(this.serviceTicket);
        }

        return new Attachment(this.postJson(
                attachmentParam, WS.Path.Attachment.Version1.attachmentDelete()));
    }
public Attachment deleteAttachment(Attachment attachmentParam)
    {
        if(attachmentParam != null && this.serviceTicket != null)
        {
            attachmentParam.setServiceTicket(this.serviceTicket);
        }

        return new Attachment(this.postJson(
                attachmentParam, WS.Path.Attachment.Version1.attachmentDelete()));
    }
public Attachment deleteAttachment ( Attachment attachmentParam ) { if ( attachmentParam != null && this . serviceTicket != null ) { attachmentParam . setServiceTicket ( this . serviceTicket ) ; } return new Attachment ( this . postJson ( attachmentParam , WS . Path . Attachment . Version1 . attachmentDelete ( ) ) ) ; }
Delete an existing Attachment.

@param attachmentParam The Attachment to delete.
@return The deleted Attachment.
Delete an existing Attachment .