Skip to main content
DELETE
/
api
/
v1
/
campaigns
/
{uuid}
/
rule
Detach the rule from a campaign
curl --request DELETE \
  --url https://{subdomain}.mihu.ai/api/v1/campaigns/{uuid}/rule \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "message": "Rule detached from campaign",
  "data": {
    "campaign_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "detached_count": 123
  }
}

Documentation Index

Fetch the complete documentation index at: https://developers.mindhunters.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Use a Bearer token to access these API endpoints. Example: "Bearer {your-token}"

Path Parameters

uuid
string<uuid>
required

UUID of the campaign to detach the rule from.

Response

Rule detached. Response includes how many pivot rows were removed (0 if there was no rule, 1 if there was).

success
boolean
Example:

true

message
string
Example:

"Rule detached from campaign"

data
object