* @param macro
* @return
* @throws ZendeskApiException
*/
public IndividualMacroResponse updateMacro(Macro macro) throws ZendeskApiException {
IndividualMacroResponse individualMacroResponse = new IndividualMacroResponse();
individualMacroResponse.setMacro(macro);
try {
return genericPut("macros/" + macro.getId() + ".json", individualMacroResponse, IndividualMacroResponse.class);
} catch (Exception e) {
throw new ZendeskApiException("Update of macro " + macro.getTitle() + " failed", e);
}