MsgCore icon

MsgCore

Universal messaging gateway - send messages across multiple platforms

Overview

This node provides integration with a universal messaging gateway platform, allowing users to manage various resources such as projects, API keys, identities, members, messages, platforms, webhooks, and platform logs. Specifically, the Projects - Delete operation enables users to delete an existing project by specifying its identifier. This is useful for cleaning up or removing projects that are no longer needed.

Typical use cases include:

  • Automating project lifecycle management by deleting obsolete or test projects.
  • Integrating project deletion into workflows that manage resource cleanup.
  • Ensuring compliance by programmatically removing projects containing sensitive data.

Example: A user can configure this node to delete a project named "default" after completing all related tasks, freeing up resources and maintaining a tidy environment.

Properties

Name Meaning
Project Project identifier to operate on

The only required input property for the Projects - Delete operation is the Project string, which specifies the unique identifier of the project to be deleted.

Output

The output of this operation will typically contain JSON data representing the response from the API after attempting to delete the specified project. This may include confirmation of deletion or error details if the operation failed.

No binary data output is indicated for this operation.

Dependencies

  • Requires an API key credential configured in n8n to authenticate requests to the messaging gateway API.
  • The node sends HTTP DELETE requests to the endpoint /api/v1/projects/{project}, where {project} is the project identifier.
  • The base URL for the API is taken from the configured credentials.

Troubleshooting

  • Common issues:

    • Attempting to delete a non-existent project will likely result in an error response from the API.
    • Insufficient permissions or invalid API credentials can cause authorization errors.
    • Network connectivity problems may prevent successful API calls.
  • Error messages and resolutions:

    • 404 Not Found: The specified project does not exist. Verify the project identifier.
    • 401 Unauthorized or 403 Forbidden: Check that the API key credential has sufficient permissions.
    • Network errors: Ensure the API URL is correct and accessible from your environment.

Links and References

  • Refer to the messaging gateway API documentation for detailed information about project management endpoints.
  • Consult n8n documentation on how to configure API key credentials and use HTTP request nodes.

Discussion