Archive live
POST/bv/cms/v1/lives/:id:archive
Archives the live stream, rendering it inaccessible for future use.
Prerequisites: This API can be invoked when the live status is one of the following:
- LIVE_STATUS_WAIT_FOR_PREVIEW
- LIVE_STATUS_PREVIEW
- LIVE_STATUS_LIVE
- LIVE_STATUS_CLOSED
- LIVE_STATUS_FAIL_TO_CREATE
- LIVE_STATUS_FAIL_TO_PREVIEW
- LIVE_STATUS_FAIL_TO_END
- LIVE_STATUS_FAIL_TO_VOD
- LIVE_STATUS_FAIL_TO_CANCEL
- LIVE_STATUS_FAIL_TO_ARCHIVE
- Return a
400/BadRequesterror withERROR_REASON_ACTION_NOT_ALLOWEDif the live status is in an impermissible state for archiving. - Return a
404/NotFounderror if the requested live stream is not found.
Request
Responses
- 200
- 400
- 401
- 403
- 500
- default
A successful response.
A unauthenticated response.
The header authorization was missing or unidentified.
A forbidden response.
It means that the provided authorization did not have enough permission to access the resource or the API.
A server error response. There are more HTTP status code mappings listed on here.
An unexpected error response.