# Delete a session

> Deletes the session and its underlying conversation and messages. The session's actor is not deleted. Generations and traces produced by the session are not deleted either, since they are not linked to the session or conversation.

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Delete a session"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/api/v1/sessions/{session_id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>

Deletes the session and its underlying conversation and messages. The session's actor is not deleted. Generations and traces produced by the session are not deleted either, since they are not linked to the session or conversation.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./delete-session.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./delete-session.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./delete-session.StatusCodes.json")}
>
  
</StatusCodes>
