MsgCore icon

MsgCore

Universal messaging gateway - send messages across multiple platforms

Overview

The node provides an interface to manage identities within a messaging platform project. Specifically, the "Remove-alias" operation allows users to remove a platform alias from an existing identity. This is useful when an alias (a linked platform user account) is no longer relevant or should be disassociated from the identity.

Common scenarios include:

  • Cleaning up outdated or incorrect platform aliases linked to an identity.
  • Managing user accounts that have multiple platform presences and need alias adjustments.
  • Maintaining accurate identity records by removing obsolete aliases.

For example, if an identity represents a user aggregated across multiple platforms (e.g., Telegram, Discord), and one of the platform accounts is no longer valid or should be unlinked, this operation removes that specific alias.

Properties

Name Meaning
Identity ID The unique identifier of the identity from which the alias will be removed.
Alias ID to remove The unique identifier of the alias to be removed from the identity.
Project The project identifier under which the identity exists and the operation is performed.

Output

The output JSON contains the response from the API after attempting to remove the alias. Typically, this would confirm successful removal or provide error details if the alias could not be removed.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authentication with the messaging platform's API.
  • The node makes HTTP DELETE requests to the endpoint structured as:
    /api/v1/projects/{project}/identities/{id}/aliases/{aliasId}
    where {project}, {id}, and {aliasId} are replaced by the respective input parameters.

Troubleshooting

  • Common issues:

    • Providing an invalid or non-existent Identity ID or Alias ID will result in errors.
    • Insufficient permissions or missing API credentials can cause authorization failures.
    • Attempting to remove an alias that is not linked to the specified identity will fail.
  • Error messages:

    • 404 Not Found: The identity or alias does not exist. Verify the IDs.
    • 401 Unauthorized: Authentication failed. Check API key credentials.
    • 400 Bad Request: Invalid parameters provided. Ensure all required fields are correctly set.
  • Resolution tips:

    • Double-check the Identity ID and Alias ID values.
    • Confirm the API key has sufficient permissions for identity management.
    • Review project identifier correctness.

Links and References

  • Refer to the messaging platform API documentation for identities and aliases management.
  • Consult n8n documentation on configuring API key credentials and HTTP request nodes for further customization.

Discussion