I am trying to update workflow email alerts via Tooling API, My request is:
req.setBody('{"fullName": "Test","Metadata": {"description": "Updated via WorkBench"}}');
As "Only the Metadata and FullName fields may be specified on ActionEmail".
But without the other fields like Template ID etc the request is not getting created with error:
Mandatory fields are missing
And if we tend to add those fields, we get the same error stated above. Does anyone have any idea or sample code on this please?
Thanks