Terminates the specified session. After you terminate a session, it enters the <code>TERMINATING</code> state and then the <code>TERMINATED</code> state. You can still access the Spark History Server for a terminated session through the <code>GetResourceDashboard</code> operation.
delete/applications/{applicationId}/sessions/{sessionId}
Path parameters
applicationIdstring required
The ID of the application that the session belongs to.
sessionIdstring required
The ID of the session to terminate.
Response
Success