Actions12
- Blocklet Actions
- Tag Actions
- User Actions
User → Update User Approval
AI-generatedOverview
This node operation updates the approval status of a user within a specified Blocklet app (team). It is useful in scenarios where an administrator or system needs to approve or disapprove users programmatically, such as managing user access or permissions in an application.
Use Case Examples
- Approving a new user after verification.
- Revoking approval for a user who no longer meets criteria.
Properties
| Name | Meaning |
|---|---|
| App DID | DID of the blocklet app (team) to which the user belongs. |
| User DID | DID of the user whose approval status is to be updated. |
| User Approved? | Boolean flag indicating whether the user is approved (true) or not (false). |
Output
JSON
did- The DID of the user whose approval status was updated.approved- The updated approval status of the user.
Dependencies
- Requires an API key credential to authenticate requests to the Blocklet Server API.
Troubleshooting
- Common issues include providing invalid or missing DIDs for the app or user, which will cause the API request to fail.
- Errors may occur if the API key credential is missing or invalid, resulting in authentication failures.
- If the user does not exist or the operation is not supported, the node will throw an error indicating the action is not implemented or user not found.