Sessions

Delete a session

Changed on

Deletes 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 URL
    https://api.factory.ai
  • Auth
    HTTP 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 object to no type for status

    • breaking

      removed the media type application/json for the response with the status

    • breaking

      removed the required property detail from the response with the status

    27 more changes in this revision