Homebridge icon

Homebridge

Interact with Homebridge API

Actions80

User → Update User

AI-generated

Overview

This node interacts with the Homebridge API to update user information. It is useful in scenarios where you need to modify existing user details such as name, username, or admin status within a Homebridge system. For example, updating a user's name or changing their admin privileges programmatically.

Use Case Examples

  1. Updating a user's name and username after a profile change.
  2. Changing a user's admin status to grant or revoke administrative rights.

Properties

Name Meaning
Access Token Access token from Login operation or manually entered for authentication.
User ID The ID of the user to update.
Name The new name of the user.
Username The new username of the user.
Admin Boolean flag indicating if the user has admin privileges.
Request Options Additional request options such as batching, SSL handling, proxy, and timeout settings.

Output

JSON

  • id - The ID of the updated user.
  • name - The updated name of the user.
  • username - The updated username of the user.
  • admin - The updated admin status of the user.

Dependencies

  • Homebridge API access with an API key credential for authentication.

Troubleshooting

  • Ensure the Access Token is valid and has not expired to avoid authentication errors.
  • Verify the User ID exists in the Homebridge system to prevent 'user not found' errors.
  • Check network connectivity and proxy settings if requests time out or fail.
  • If SSL issues occur, consider enabling the option to ignore SSL certificate validation, but be aware of security risks.

Discussion