Actions115
- Account Actions
- Announcements Actions
- Apps Actions
- Authentication Actions
- Blocks Actions
- Bookmarks Actions
- Canonical Email Blocks Actions
- Cohorts Actions
- Conversations Actions
- Custom Emojis Actions
- Directory Actions
- Domains (Allowed) Actions
- Domains (Blocked) Actions
- Domains (Email Blocked) Actions
- Emails Actions
- Endorsements Actions
- Favourites Actions
- Featured Tags Actions
- Filters Actions
- Follow Requests Actions
- Followed Tags Actions
- Instance Actions
- IPs Actions
- Lists Actions
- Markers Actions
- Measures Actions
- Media Actions
- Mutes Actions
- Notifications Actions
- oEmbed Actions
- Polls Actions
- Preferences Actions
- Profile Actions
- Proofs Actions
- Push Actions
- Reports Actions
- Retention Actions
- Scheduled Statuses Actions
- Search Actions
- Status Actions
- Streaming Actions
- Suggestions Actions
- Tags Actions
- Timeline Actions
Domains (Email Blocked) → Block Email Domain
AI-generatedOverview
This node operation allows users to block an email domain from registering on a Mastodon instance. It is useful for administrators who want to prevent users from certain email domains from signing up, enhancing control over the user base and reducing spam or unwanted registrations.
Use Case Examples
- Blocking a spammy email domain like 'spamdomain.com' to prevent registrations from that domain.
- Blocking disposable email domains to ensure only legitimate users can register.
Properties
| Name | Meaning |
|---|---|
| Mastodon URL | The URL of the Mastodon instance to connect to, e.g., https://mastodon.social. |
| Authentication Type | The method used to authenticate with the Mastodon instance, either OAuth2 or Access Token. |
| Domain | The email domain to block from registration on the Mastodon instance. |
Output
JSON
json- The JSON response from the Mastodon API after attempting to block the specified email domain.
Dependencies
- Requires authentication credentials for the Mastodon instance, either OAuth2 or an access token.
Troubleshooting
- Ensure the correct authentication type is selected and valid credentials are provided; OAuth2 is required for authentication operations.
- If the node throws an error about missing credentials, verify that the appropriate Mastodon credentials are configured in n8n.
- Check that the Mastodon instance URL is correct and accessible.
- If the operation is not implemented error occurs, verify that the resource and operation names are correctly set to 'emailBlockedDomains' and 'blockEmailDomain' respectively.