Updated on 2024-04-22 GMT+08:00

Deleting a Video Source

Function

This API is used to delete video sources.

URI

DELETE /v2/{project_id}/source/{video_source_id}

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details, see Obtaining a Project ID and Name.

Maximum: 64

video_source_id

Yes

String

ID of a created video source. The value is a string of 4 to 36 characters consisting of only lowercase letters, digits, hyphens (-), and underscores (_).

Maximum: 36

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

User token. For details about how to obtain a user token, see Authentication.

Response Parameters

None

Example Requests

This request is used to delete the video source whose ID is {video_source_id}.

/v2/{project_id}/source/{video_source_id}

https://{endpoint}/v2/{project_id}/source/{video_source_id}

Example Responses

Status code: 200

Operation successful

true

Status Codes

Status Code

Description

200

Operation successful

Error Codes

See Error Codes.