Mastodon icon

Mastodon

Interact with Mastodon API

Actions115

Follow Requests → Reject Follow Request

AI-generated

Overview

This node operation allows users to reject a follow request on a Mastodon instance. It is useful for managing incoming follow requests by denying access to specific accounts that request to follow the authenticated user. For example, if a user receives unwanted follow requests, they can use this operation to reject those requests programmatically.

Use Case Examples

  1. Reject a follow request from a specific account ID on a Mastodon instance using an access token or OAuth2 authentication.
  2. Automate the moderation of follow requests by rejecting requests from certain accounts based on custom 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.
Account ID The ID of the account requesting to follow, which will be rejected.

Output

JSON

  • json - The JSON response from the Mastodon API after rejecting the follow request, typically indicating success or failure of the operation.

Dependencies

  • Requires authentication credentials for the Mastodon instance, either OAuth2 or an access token.

Troubleshooting

  • If the node throws an error about missing credentials, ensure that the correct Mastodon OAuth2 or token credentials are selected based on the chosen authentication type.
  • If the operation is used with the 'authentication' resource but without OAuth2 credentials, an error will be thrown because authentication operations require OAuth2.
  • Errors indicating that the operation is not implemented for the resource suggest a misconfiguration or unsupported operation; verify the resource and operation names.

Discussion