Deleting a Video Source
Function
This API is used to delete video sources.
URI
DELETE /v2/{project_id}/source/{video_source_id}
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
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot