Actions99
- Group Accounts Actions
- Group Account Codes Actions
- Accounts Actions
- Expenses Actions
- Purchase Orders Actions
- Get A List Of Purchase Orders
- Create A New Purchase Order
- Get A Purchase Order
- Update A Purchase Order
- Open A Purchase Order
- Get A List Of Purchase Orders Items For A Specific Purchase Order
- Create A Purchase Order Item
- Get A Purchase Order Item
- Update A Purchase Order Item
- Delete A Purchase Order Item
- Get A List Of Goods Received Notes For A Specific Purchase Order
- Create A Goods Received Note
- Attach A File To A Goods Received Note
- Delete A Goods Received Note
- Suppliers Actions
- Fund Accounts Actions
- Cards Actions
- Expense Categories Actions
- Tax Rates Actions
- Amortizations Actions
- Account Teams Actions
- Account Codes Actions
- External Teams Actions
- Custom Fields Actions
- Get Custom Fields
- Create A New Custom Field
- Get Custom Field
- Update Custom Field
- Delete A Custom Field And All Its Values
- Get Custom Field Values
- Create A Custom Field Value
- Delete Custom Field Values
- Get A Custom Field Value
- Update A Custom Field Value
- Delete A Custom Field Value
- Get Managers For A Specific Custom Field Value
- Adds Managers For A Specific Custom Field Value
- Replaces Managers For A Specific Custom Field Value
- Removes Managers For A Specific Custom Field Value
- Webhook Subscriptions Actions
- Group Teams Actions
Account Teams → Delete Team Member
AI-generatedOverview
This node operation deletes a member from a specific team within an account. It is useful in scenarios where you need to manage team memberships dynamically, such as removing users who no longer require access or have left the organization. For example, if a user leaves a project or company, this operation can be used to revoke their team membership programmatically.
Properties
| Name | Meaning |
|---|---|
| Account Id | Identifier of the account from which the team member will be removed |
| Team Id | Identifier of the team from which the member will be deleted |
| Member Id | Identifier of the member (userId in Payhawk) to be removed from the specified team |
Output
The output JSON typically contains the result of the delete operation, which may include confirmation of successful removal or details about the deleted member. Since this is a deletion operation, the output might be minimal or just a status confirmation. The node does not explicitly handle binary data output.
Dependencies
- Requires an API key credential for authentication with the external service managing accounts and teams.
- The node depends on the Payhawk API endpoint configured via credentials, specifically the base URL and authentication headers.
- No additional external services are required beyond the configured API access.
Troubleshooting
Common Issues:
- Invalid or missing identifiers (Account Id, Team Id, Member Id) will cause the operation to fail.
- Insufficient permissions or invalid API credentials can lead to authorization errors.
- Network connectivity issues may prevent communication with the API.
Error Messages:
- "Member not found" — Verify that the Member Id is correct and that the member exists in the specified team.
- "Unauthorized" or "Authentication failed" — Check that the API key credential is valid and has necessary permissions.
- "Invalid Account or Team Id" — Confirm that the provided Account Id and Team Id are accurate and exist.
Resolving these errors usually involves verifying input parameters, ensuring proper API credentials, and confirming network connectivity.
Links and References
- Payhawk API Documentation (for detailed API usage and authentication)
- n8n documentation on Creating Custom Nodes