---
title: "disposeSessionContext"
slug: "api/session/operations/disposesessioncontext"
sidebar:
  order: 145
---

<a id="ref-e0c63fc3ef26"></a>
<a id="ref-f88c95e94ecf"></a>
<a id="ref-34c559c8d94d"></a>

## Synopsis

```text
void disposeSessionContext( SessionId contextId)
throws SessionServiceFault;
```

See also: [SessionId](/pCon/configuratorOnline/specs/api/session/types/sessionid#ref-02e397c8fdb4), [SessionServiceFault](/pCon/configuratorOnline/specs/api/session/faults/sessionservicefault#ref-30a5c7817f4a)

Dispose the session context specified by argument `contextId`. The operation has no effect if an actual session ID is passed as `contextId`. Disposing a session context with a valid project key does not close the project identified by this key.
