Spark Session - Reset Spark Session Timeout

Sends a keep alive call to the current session to reset the session timeout.

PUT {endpoint}/livyApi/versions/{livyApiVersion}/sparkPools/{sparkPoolName}/sessions/{sessionId}/reset-timeout

URI Parameters

Name In Required Type Description
endpoint
path True

string

The workspace development endpoint, for example https://myworkspace.dev.azuresynapse.net.

livyApiVersion
path True

string

Valid api-version for the request.

sessionId
path True

integer

int32

Identifier for the session.

sparkPoolName
path True

string

Name of the spark pool.

Responses

Name Type Description
200 OK

Success

Examples

Reset the session timeout.

Sample request

PUT myWorkspace.dev.azuresynapse.net/livyApi/versions/2020-12-01/sparkPools/mySparkPool/sessions/123/reset-timeout

Sample response