Actions115
- Course Actions
- Bundle Actions
- Course Grade Actions
- Course Grade Detail Actions
- Course Teacher Actions
- Email Actions
- Email Campaign Actions
- Email Campaign Course Actions
- Email Campaign Excluded Course Actions
- Email Campaign Excluded List Actions
- Enroll Actions
- Email Campaign Excluded Plan Actions
- Email Campaign List Actions
- Email Campaign Plan Actions
- Email List Actions
- MindzPay Account Actions
- MindzPay Invoice Actions
- MindzPay Payment Actions
- MindzPay Subscription Actions
- Subscription Actions
- Team Actions
- User Actions
Overview
The node provides integration with the Mindz API, allowing users to manage various resources such as subscriptions, courses, users, teams, and more. Specifically, for the Subscription resource with the Delete operation, the node enables deleting a subscription plan by its ID. This is useful in scenarios where you want to programmatically remove a subscription plan from your system, for example, when a subscription is no longer valid or needs to be revoked.
Practical examples:
- Automatically deleting expired or canceled subscription plans.
- Cleaning up test or demo subscription plans after use.
- Managing subscription lifecycle within automated workflows.
Properties
| Name | Meaning |
|---|---|
| Subscription Plan ID | The unique identifier of the subscription plan to delete. This is a required string. |
Output
The output JSON typically contains the response from the Mindz API after attempting to delete the subscription plan. This may include confirmation of deletion or error details if the operation failed.
If the node supports binary data output (not indicated here), it would represent any files or attachments returned by the API, but for this operation, the output is expected to be purely JSON.
Dependencies
- Requires an active connection to the Mindz API via an OAuth2-based API key credential.
- The node depends on the Mindz API being accessible and the provided credentials having sufficient permissions to delete subscription plans.
Troubleshooting
Common issues:
- Invalid or missing Subscription Plan ID will cause the operation to fail.
- Insufficient permissions or invalid API credentials can result in authorization errors.
- Network connectivity problems may prevent communication with the Mindz API.
Common error messages:
- "Subscription Plan ID is required" — Ensure the Subscription Plan ID property is set.
- "Unauthorized" or "Invalid credentials" — Verify that the API key credential is correctly configured and has necessary permissions.
- "Subscription not found" — Confirm that the Subscription Plan ID exists in the Mindz system.
Resolving these usually involves verifying input parameters, checking API credentials, and ensuring network access.
Links and References
- Mindz API Documentation (general reference for API endpoints and authentication)
- OAuth2 Authentication setup guides for n8n integrations