Blocklet Service icon

Blocklet Service

Consume Blocklet Service API

User → Update User Tags

AI-generated

Overview

This node operation updates the tags associated with a specific user identified by their DID (Decentralized Identifier). It is useful in scenarios where user categorization or labeling needs to be managed dynamically, such as in user management systems, marketing segmentation, or access control based on tags. For example, an admin can add or modify tags for a user to reflect their current status or group membership.

Use Case Examples

  1. Updating tags for a user to reflect new roles or interests.
  2. Removing outdated tags and adding new ones to keep user data current.

Properties

Name Meaning
User DID The decentralized identifier (DID) of the user whose tags are to be updated.
Tag Names or IDs A list of tag names or IDs to assign to the user. Multiple tags can be specified.

Output

JSON

  • did - The DID of the user whose tags were updated.
  • tags - The list of tag IDs assigned to the user after the update.

Dependencies

  • Requires an API key credential for the Blocklet Service API to authenticate requests.

Troubleshooting

  • Common issues include providing an invalid or non-existent user DID, which will cause the API request to fail.
  • Providing tag names or IDs in an incorrect format (e.g., not as an array or with invalid characters) may result in errors.
  • If the API key credential is missing or invalid, authentication errors will occur.

Links

Discussion