Adding documentation for task clearing endpoint.