Tears down a running framework by shutting down all tasks/executors and removing the framework.
Returns 200 OK if the framework was torn down successfully.
Returns 307 TEMPORARY_REDIRECT redirect to the leading master when current master is not the leader.
Returns 503 SERVICE_UNAVAILABLE if the leading master cannot be found.
Please provide a "frameworkId" value designating the running framework to tear down.
This endpoint requires authentication iff HTTP authentication is enabled.
Using this endpoint to teardown frameworks requires that the current principal is authorized to teardown frameworks created by the principal who created the framework. See the authorization documentation for details.