Deleting a Recording Template

Function

This API is an out-of-date version and may not be maintained in the future. Live will provide you with new APIs. You can use the new recording function on the Live console. For details, see Recording Live Video to OBS.

This API is used to delete a recording template.

URI

DELETE /v1/{project_id}/record/config

Request Parameters

Parameter

Type

Description

Mandatory

domain

String

Streaming domain name

Yes

app_name

String

Application name

Yes

Example Request

  DELETE /v1/{project_id}/record/config?domain=play.example.com&app_name=live

Response Parameters

  • If the request succeeds,
    only a status code 204 No Content is returned.
  • If the request fails,
    Table 1 Response parameters

    Parameter

    Type

    Description

    error_code

    String

    Error code

    error_msg

    String

    Error description

Example Response

  • A status code 204 No Content is returned if the request has been fulfilled.
  • The following is a failed response example:
    {
      "error_code": "LIVE.100011001",
      "error_msg": "Request Illegal"
    }
    

Status Code

See Status Codes.

Error Code

See Error Codes.