Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Lists → Remove Accounts from List

AI-generated

Overview

This node operation removes specified accounts from a Mastodon list. It is useful for managing the membership of lists on a Mastodon instance, such as cleaning up or updating the list by removing certain accounts. For example, if you have a list of users you follow and want to remove some accounts that are no longer relevant, this operation facilitates that.

Use Case Examples

  1. Remove multiple accounts from a Mastodon list by specifying their account IDs and the list ID.
  2. Automate list management by removing accounts based on certain criteria using this operation in a workflow.

Properties

Name Meaning
Mastodon URL The URL of the Mastodon instance to connect to.
Authentication Type The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token.
List ID The ID of the Mastodon list from which accounts will be removed.
Account IDs The IDs of the accounts to be removed from the list. Multiple values can be specified.

Output

JSON

  • json - The response data from the Mastodon API after removing accounts from the list, typically confirming the removal or showing the updated list state.

Dependencies

  • Requires authentication credentials for Mastodon, either OAuth2 or an access token, to authorize API requests.

Troubleshooting

  • Ensure that the correct Mastodon URL is provided and that it matches the base URL in the credentials if using OAuth2.
  • Verify that the authentication credentials are valid and have the necessary permissions to modify lists.
  • If the operation is not implemented error occurs, check that the resource is set to 'lists' and the operation to 'removeAccountsFromList'.
  • Handle API errors gracefully by enabling 'Continue On Fail' in the node settings to avoid workflow interruption.

Discussion