API Reference

Update folder properties

Used to update the name property of a folder.

The "Update folder properties" endpoint allows you to update the properties of a folder in your PandaVideo account. By making a PUT request to the specified URL (https://api-v2.pandavideo.com.br/folders/{folder_id}), you can modify the name or parent folder of the specified folder.

To update the folder properties, you need to provide the following information:

ParameterTypeRequiredDescription
folder_idstringYesThe ID of the folder you want to update.
namestringNoThe new name for the folder. It should be between 3 and 50 characters long.
parent_folder_idstringNoThe new parent folder ID if you want to move the folder to a different parent folder.

📘

Responses

  • 200: Success. Folder properties updated successfully.
  • 400: Bad request. Check the request parameters or syntax.
  • 401: Unauthorized. The request lacks valid authentication credentials.
  • 404: Not found. The requested resource (folders) was not found.
  • 500: Internal server error. Please try again later.

By utilizing the "Update folder properties" endpoint, you can programmatically update the name or parent folder of a specific folder in your PandaVideo account. This can be useful for renaming folders or reorganizing them within your account's folder structure.

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.

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