front.contact.handle.delete

# Element details

**type:** `meya.front.component.contact.handle.delete`\
**class:** `FrontContactHandleDeleteComponent`\
**path:** [/meya/front/component/contact/handle/delete.py](https://github.com/meya-customers/meya-sdk/blob/main/meya/front/component/contact/handle/delete.py)\
**signature:** `-`

## Fields

<Table align={["left","left","left","left","left","left"]}>
  <thead>
    <tr>
      <th style={{ textAlign: "left" }}>
        field
      </th>
      <th style={{ textAlign: "left" }}>
        description
      </th>
      <th style={{ textAlign: "left" }}>
        required
      </th>
      <th style={{ textAlign: "left" }}>
        signature
      </th>
      <th style={{ textAlign: "left" }}>
        default
      </th>
      <th style={{ textAlign: "left" }}>
        type
      </th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td style={{ textAlign: "left" }}>
        spec
      </td>
      <td style={{ textAlign: "left" }}>
        Override the original spec for this element.
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        null
      </td>
      <td style={{ textAlign: "left" }}>
        Spec
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        integration
      </td>
      <td style={{ textAlign: "left" }}>
        A string identifier for the Front integration (e.g. integration.front)
      </td>
      <td style={{ textAlign: "left" }}>
        ◉
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>
        FrontIntegrationRef
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        handle
      </td>
      <td style={{ textAlign: "left" }}>
        A human readable alias for the Front contact. The format is alt:&lt;source&gt;:&lt;handle&gt; (e.g. alt:phone:+12345678900)
      </td>
      <td style={{ textAlign: "left" }}>
        ◉
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>
        str
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        source
      </td>
      <td style={{ textAlign: "left" }}>
        Front contact source. e.g. `email`. Front enforces contact handle format depending on the contact source, e.g., for Twitter the contact handle must start with `@` This value will only be used in case of contact creation.
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        "custom"
      </td>
      <td style={{ textAlign: "left" }}>
        FrontSource
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        contact\_id
      </td>
      <td style={{ textAlign: "left" }}>
        The Front Contact ID
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        null
      </td>
      <td style={{ textAlign: "left" }}>
        str
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        context
      </td>
      <td style={{ textAlign: "left" }}>
        Send context data with this component's event.
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        `{}`
      </td>
      <td style={{ textAlign: "left" }}>
        dict
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        sensitive
      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        true
      </td>
      <td style={{ textAlign: "left" }}>
        bool
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        triggers
      </td>
      <td style={{ textAlign: "left" }}>
        Activate these dynamic triggers when the component runs. Check the [component triggers guide](https://docs.meya.ai/docs/component-triggers) for more info.
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        `[]`
      </td>
      <td style={{ textAlign: "left" }}>
        list
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>
        force
      </td>
      <td style={{ textAlign: "left" }}>
        Setting force to true will delete the contact if the handle to delete is the last one of the contact
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        ○
      </td>
      <td style={{ textAlign: "left" }}>
        false
      </td>
      <td style={{ textAlign: "left" }}>
        bool
      </td>
    </tr>
    <tr>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>

      </td>
      <td style={{ textAlign: "left" }}>

      </td>
    </tr>
  </tbody>
</Table>

## Usage reference

### Basic

```yaml
triggers:
  - keyword: meya.front.component.contact.handle.delete
steps:
  - type: meya.front.component.contact.handle.delete
    integration: integration.front
    handle: STRING

Full

triggers:
  - keyword: meya.front.component.contact.handle.delete
steps:
  - type: meya.front.component.contact.handle.delete
    spec:
      type: STRING
      data:
        STRING: ANY
      timeout: 123
      trigger_when: ANY
    integration: integration.front
    handle: STRING
    source: email|phone|twitter|facebook|intercom|front_chat|custom
    contact_id: STRING
    context:
      STRING: ANY
    sensitive: false
    triggers:
      - type: STRING
        data:
          STRING: ANY
        timeout: 123
        trigger_when: ANY
    force: false