Overview
This n8n node allows you to delete a status (post) from a Mastodon instance. It is useful for automating moderation tasks, cleaning up old or unwanted posts, or integrating Mastodon content management into larger workflows. For example, you could use this node to automatically remove posts that meet certain criteria, or as part of a scheduled cleanup process.
Properties
| Name | Type | Meaning |
|---|---|---|
| Mastodon URL | String | The base URL of the Mastodon instance you want to interact with. |
| Status ID | String | The unique identifier of the status (post) you wish to delete. |
Output
The output will be a JSON object reflecting the result of the deletion operation. Typically, this may include confirmation of deletion or details about the deleted status, depending on the Mastodon API's response. No binary data is produced.
Dependencies
- Mastodon Instance: You must have access to a Mastodon server.
- Authentication: While credentials are not strictly required in the node definition, deleting a status usually requires authentication via OAuth2. Ensure your n8n instance is configured with appropriate Mastodon credentials if needed.
Troubleshooting
- Invalid Mastodon URL: If the "Mastodon URL" is incorrect or unreachable, the node will fail to connect. Double-check the URL format and network accessibility.
- Missing or Invalid Status ID: If the "Status ID" does not exist or has already been deleted, the Mastodon API will return an error.
- Authentication Errors: If proper credentials are not provided or are invalid, you may receive authorization errors such as "401 Unauthorized". Make sure your OAuth2 credentials are set up correctly in n8n.
- Permission Denied: Attempting to delete a status you do not own or have rights to will result in a "403 Forbidden" error.