Skip to main content

Delete a recording and its files

DELETE 

/program/api/v2/recordings/:id

Deletes every file of the recording, then the recording itself: managed storage through the project's managed key, the project's own bucket through the connection the recording was written with. The files are gone, not hidden; ask the user to confirm first.

The files go first and the recording last, so a delete the bucket refuses part-way leaves the recording listed and can be retried.

  • 404 recording_not_found — no such recording in the project.
  • 409 recording_in_progress — the stream is still recording; end it first.
  • 502 storage_unreachable — the bucket refused the listing or the delete; the recording stays.
Generate JWT

Request​

Responses​

Recording and its files deleted

Forbidden

Recording not found (recording_not_found)

Still recording (recording_in_progress)

Internal Server Error

The bucket refused the delete (storage_unreachable); the recording stays