cURL
curl --request DELETE \ --url https://api.factory.ai/api/v0/sessions/{sessionId} \ --header 'X-API-Key: <api-key>'
{}
Soft-deletes a session (can be restored within retention period).
Factory API key for authentication
Session ID
Response for status 204
The response is of type object.
object