Actions9
- User Actions
- Folder Actions
- Password Actions
Overview
This node integrates with the Passwork API to perform operations related to Passwork resources. Specifically, for the User resource and the Logout operation, it allows users to log out from the Passwork system programmatically. This can be useful in automation workflows where session management or user authentication lifecycle needs to be controlled, such as logging out a user after certain tasks are completed or when cleaning up sessions.
Properties
| Name | Meaning |
|---|---|
| Raw Result | When set to true, the node returns the full raw response from the API instead of parsed or simplified data. Defaults to false. |
Output
The node outputs JSON data representing the result of the logout operation. If "Raw Result" is enabled, the output will contain the complete raw API response. Otherwise, it may provide a simplified confirmation of successful logout or relevant status information.
No binary data output is involved in this operation.
Dependencies
- Requires an API key credential for authenticating with the Passwork API.
- The base URL for the Passwork API must be configured in the credentials.
- The node sends HTTP requests to the Passwork API endpoints using standard REST conventions.
Troubleshooting
- Authentication errors: Ensure that the API key credential is valid and has sufficient permissions.
- Invalid base URL: Verify that the base URL in the credentials is correctly set without trailing slashes.
- API response errors: If the API returns an error, check the message for details such as session expiration or invalid logout attempts.
- Raw Result confusion: If the output seems complex or unexpected, try toggling the "Raw Result" property to see the full API response for debugging.
Links and References
- Passwork API Documentation (general reference for API endpoints and authentication)
- n8n documentation on HTTP Request Node for understanding how API calls are made within nodes