API Reference

Update user from organization

The "Update user from organization" endpoint allows you to update an existing user within an organization using the PandaVideo API. By making a PUT request to the specified URL (https://api-v2-staging.pandavideo.com/users/{user_id}), you can update a user by providing the necessary information in the request body.

Path Parameters:

  • user_id (string, required): The ID of the user to be updated.

Request Body Parameters:

  • email (string): The updated email address of the user.

  • role_id (string): The updated role ID assigned to the user.

  • phone (string): The updated phone number of the user.

  • image_id (string): The ID of the updated image associated with the user.

Additionally, you need to provide the necessary authentication in the headers using the "Authorization" field with the value "Token API_Token". The "content-type" header should be set to "application/json".

📘

Responses

  • 200: Success. The user is updated successfully.
  • 400: Bad request. Check the provided parameters.
  • 401: Unauthorized. Authentication failed or not provided.
  • 500: Internal server error. Please try again later.

By utilizing the "Update user from organization" endpoint, you can programmatically update the information of an existing user within your PandaVideo organization.

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!