Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Filters → Delete Filter

AI-generated

Overview

This node interacts with the Mastodon API to delete a specified filter from a Mastodon instance. It is useful for managing content filters on a Mastodon server, such as removing filters that block certain keywords or users. For example, a user can automate the removal of outdated or unnecessary filters from their Mastodon instance.

Use Case Examples

  1. Deleting a filter by its ID to stop blocking certain content on a Mastodon instance.
  2. Automating filter management by removing filters based on specific criteria.

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.
Filter ID The unique identifier of the filter to be deleted.

Output

JSON

  • json - The response from the Mastodon API after attempting to delete the filter, typically indicating success or failure.

Dependencies

  • Requires Mastodon API credentials, either OAuth2 or an access token, to authenticate requests.

Troubleshooting

  • Ensure that the correct Mastodon URL is provided and that it does not have trailing slashes.
  • Verify that the correct authentication type and valid credentials are selected; OAuth2 is required for authentication operations, but for deleting filters either OAuth2 or token can be used.
  • If the filter ID is incorrect or does not exist, the API will return an error; verify the filter ID before attempting deletion.
  • Common errors include missing credentials or invalid authentication tokens; ensure credentials are properly configured in n8n.

Discussion