cURL
curl --request DELETE \ --url https://api.factory.ai/api/v0/sessions/{sessionId} \ --header 'Authorization: Bearer <token>'
{}
Soft-deletes a session (can be restored within retention period). This feature is enabled for selected organizations only.
Factory API key or JWT token for authentication
Session ID
Response for status 204
The response is of type object.
object