public void delete ( ) { BoxAPIConnection api = this . getAPI ( ) ; URL url = COLLABORATION_URL_TEMPLATE . build ( api . getBaseURL ( ) , this . getID ( ) ) ; BoxAPIRequest request = new BoxAPIRequest ( api , url , "DELETE" ) ; BoxAPIResponse response = request . send ( ) ; response . disconnect ( ) ; }
Deletes this collaboration .