API Reference

Delete video

The "Delete video" endpoint allows you to delete one or more videos from the PandaVideo system. By making a DELETE request to the specified URL (https://api-v2.pandavideo.com.br/videos) and providing an array of video IDs in the request body, you can delete multiple videos in a single API call.

To delete videos, include an array of objects in the request body, where each object contains a "video_id" field specifying the ID of the video to be deleted.

To access the endpoint, you need to provide the necessary authentication in the headers using the "Authorization" field with the value "API_KEY".

📘

Responses

  • 200: Success. The videos were deleted successfully.
  • 400: Bad request. Check the provided parameters.
  • 401: Unauthorized. Authentication failed or not provided.
  • 404: Not found. The video(s) to be deleted could not be found.
  • 500: Internal server error. Please try again later.

By utilizing the "Delete video" endpoint, you can programmatically delete one or more videos from the PandaVideo system.

Recipes

The Recipes section provides a collection of code examples and sample implementations to help you understand and use the API effectively. Each recipe includes commented code that explains the purpose and functionality of each line. You can refer to these recipes as a guide to implement specific features or interact with the API endpoints.

See the recipes below:

Language
Credentials
Header
Click Try It! to start a request and see the response here!