Sessions
Delete a session
Changed onDeletes a session. With computerId, archives the session on that computer instead of deleting it. This feature is enabled for selected organizations only.
delete/api/v0/sessions/{sessionId}
Request
- Base URLhttps://api.factory.ai
- AuthHTTP bearer
Path parameters
sessionId, string required
Session ID
Query parameters
computerId, string
Computer ID to query directly
Headers
X-Factory-Org-Id, string
Organization a JWT request acts in; required to act in a sub-organization. Without it, the request acts in the user's root organization, or is rejected with 403 when the user cannot access the root organization. API keys always act in their own organization and ignore this header.
Response
Response for status 204
Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the required property
detailfrom the response with the status
27 more changes in this revision
- breaking