---
updatedAt: 2026-06-18T12:14:42.000Z
agentTools:
  projectIndex: https://developer.liveswitch.com/llms.txt
---

# Deletes a contact

**Required scope:** `contacts`

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "LiveSwitch Public API",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://public-api.production.liveswitch.com/",
      "description": "Public API"
    }
  ],
  "paths": {
    "/v1/contacts/{id}": {
      "delete": {
        "tags": [
          "Contacts"
        ],
        "summary": "Deletes a contact",
        "description": "**Required scope:** `contacts`",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContactDto"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "contacts"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ContactDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "This is the contact's system wide unique identifier",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The OrganizationId to which the Contact belongs",
            "format": "uuid",
            "nullable": true
          },
          "firstName": {
            "type": "string",
            "description": "This is the contact's first name, an optional field",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "description": "This is the contact's last name, an optional field",
            "nullable": true
          },
          "email": {
            "type": "string",
            "description": "This is the contact's email, an optional field",
            "nullable": true
          },
          "phone": {
            "type": "string",
            "description": "This is the contact's phone, an optional field",
            "nullable": true
          },
          "attributes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntityAttributeResponseDto"
            },
            "description": "Attributes assigned to this contact",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EntityAttributeResponseDto": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "The ID of this entity attribute instance.",
            "format": "uuid",
            "nullable": true
          },
          "organizationId": {
            "type": "string",
            "description": "The organization ID.",
            "format": "uuid",
            "nullable": true
          },
          "attributeId": {
            "type": "string",
            "description": "The attribute definition ID.",
            "format": "uuid",
            "nullable": true
          },
          "attributeName": {
            "type": "string",
            "description": "The attribute definition name.",
            "nullable": true
          },
          "entityId": {
            "type": "string",
            "description": "The entity ID this attribute is attached to.",
            "format": "uuid",
            "nullable": true
          },
          "title": {
            "type": "string",
            "description": "Optional title/display text (for link attributes, this is the link text).",
            "nullable": true
          },
          "value": {
            "maxLength": 255,
            "type": "string",
            "description": "The attribute value.",
            "nullable": true
          },
          "createdAt": {
            "type": "string",
            "description": "Timestamp when created.",
            "format": "date-time",
            "nullable": true
          },
          "updatedAt": {
            "type": "string",
            "description": "Timestamp when updated.",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false,
        "description": "The value of the attribute added for an entity (response without group details)"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "description": "OAuth2 authentication using Auth0 Implicit flow",
        "flows": {
          "implicit": {
            "authorizationUrl": "https://id.staging.liveswitch.com/authorize",
            "scopes": {
              "openid": "OpenID Connect scope",
              "profile": "Access to user profile",
              "email": "Access to user email",
              "me": "Access to user information",
              "contacts": "Read access to contacts",
              "contacts.write": "Write access to contacts",
              "conversations": "Read access to conversations",
              "conversations.write": "Write access to conversations",
              "organizations": "Read access to organizations",
              "webhooks": "Read access to webhooks",
              "webhooks.write": "Write access to webhooks",
              "applications": "Read access to applications",
              "applications.write": "Write access to applications",
              "forms": "Read access to forms",
              "projects": "Read access to projects",
              "projects.write": "Write access to projects",
              "recordings": "Read access to recordings",
              "documents": "Read access to documents",
              "accounts": "Read access to accounts",
              "guided-instructions": "Read access to guided instructions",
              "sparks": "Read access to Spark runs",
              "sparks.write": "Write access to Spark runs",
              "spark-templates": "Read access to installed Spark templates for the organization",
              "scribe-templates": "Read access to installed Scribe templates (legacy)"
            }
          }
        }
      },
      "bearer": {
        "type": "http",
        "description": "<p>Please enter a valid token. This shoud NOT include the Bearer: prefix, but just the token itself.</p>\n            <br/>\n             <p>To generate a token from the Swagger UI:</p>\n             <p>\n               1. Select the 'v1/tokens' endpoint in the Swagger UI<br/>\n               2. Set the 'redirect' setting to false<br/>\n               3. Fill in the values according to your application configuration<br/>\n               4. Click 'Execute'<br/>\n            </p>\n            <br/>\n            <p>\n            The response from this request will include the URL you need to generate a token. Copy/paste it into a new window and follow the instructions.\n            </p>",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    }
  },
  "security": [
    {
      "bearer": []
    }
  ]
}
```

# Sibling pages

* [Creates a new contact](https://developer.liveswitch.com/reference/post_v1-contacts.md)
* [Gets a list of contacts](https://developer.liveswitch.com/reference/get_v1-contacts.md)
* [Gets a contact by id](https://developer.liveswitch.com/reference/get_v1-contacts-id.md)
* [Gets a contact by phone](https://developer.liveswitch.com/reference/get_v1-contacts-by-phone-phone.md)
* [Updates a contact by ID](https://developer.liveswitch.com/reference/put_v1-contacts-id.md)