Agents
Delete a session
DELETE
/agents/{agent_name}/endpoint/sessions/{session_id}Deletes a session synchronously. Returns 204 No Content when the session is deleted or does not exist.
Path ParametersQuery ParametersHeader Parameters
agent_namestringrequired
The name of the agent.session_idstringrequired
The session identifier.api-versionstringrequired
The API version to use for this operation.Foundry-Featuresstringoptional
A feature flag opt-in required when using preview operations or modifying persisted preview resources.AgentEndpoints=V1Preview
x-ms-user-isolation-keystringoptional
Opaque per-user isolation key used to scope endpoint-scoped data (responses, conversations, sessions) to a specific end user.Responses
No response body schema