Mautic Advanced icon

Mautic Advanced

Consume Mautic API with advanced features

Company Contact → Remove

AI-generated

Summary

Remove an existing contact from a specified company in Mautic using their IDs.

Inputs

  • Authentication (required) — Selects the type of authentication to use: Credentials or OAuth2.
  • Contact ID (required) — The ID of the contact to remove from the company.
  • Company ID (required) — The ID of the company from which to remove the contact.

Output shape

a JSON object indicating the success or failure of the removal operation; typically includes confirmation details from the Mautic API response.

Requires both Contact ID and Company ID to identify the company-contact relationship to remove. Uses either Credentials or OAuth2 authentication as selected. Returns the API response body on success or an error description on failure.

Examples

Example 1: Remove contact 123 from company 456 using OAuth2 authentication

Authentication set to OAuth2; Contact ID set to '123'; Company ID set to '456'.

Discussion