Haivision Media Platform

Delete a Session

Deletes the specified session.

Authorizations: Sessions - DELETE

Requests

DELETE /apis/sessions/:sessionId

Response

Success

(Empty payload)

Error

Code

Payload

 Description

403

{"code":"040006", "name":"SessionHidden",
"message":"Session hidden", "httpStatusCode":403}

Session is hidden and requester does not own the session.

404

{"code":"040006", "name":"SessionNotFound",
"message":"Session not found", "httpStatusCode":404}

Session with UUID sessionId not found.

409

{"code":"060003", "name":"RecordingInProgress",
"message":"Recording currently in progress",
"httpStatusCode": 409}

The session has a recording in progress. All recordings for this session must be stopped before it can be deleted.