---
title: "Delete Contact"
full: true
_openapi:
  method: DELETE
  toc: []
  structuredData:
    headings: []
    contents:
      - content: "Removes a contact from the organization"
_apiData:
  document: "https://reloop.sh/api/contacts/openapi/json"
  operationData: [{"path":"/api/contacts/v1/{contact_id}","method":"delete"}]
  parameterList: [{"name":"contact_id","type":"string","required":true,"description":"Unique contact identifier","location":"path","example":"cont_123456789"}]
  responseMap: {"200":{"description":"Response for status 200","schema":{"success":true,"object":"contact","id":"cont_123456789","event":"contact.delete"}},"403":{"description":"Response for status 403","schema":{"message":"Unauthorized access","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead."}},"404":{"description":"Response for status 404","schema":{"message":"Contact not found","why":"A contact with this email already exists in your organization.","fix":"Use a different email address or update the existing contact instead."}}}
  codeSamples: [{"id":"node","lang":"javascript","label":"Node.js","source":"import { Reloop } from \"reloop-email\";\n\nconst reloop = new Reloop({ apiKey: \"rl_123456789\" });\n\nconst { contact, contactError } = await reloop.contacts.delete(\"con_123456789\");\nif (contactError) throw contactError;"},{"id":"curl","lang":"bash","label":"cURL","source":"curl -X DELETE https://reloop.sh/api/contacts/v1/con_123456789 \\\n  -H \"x-api-key: rl_123456789\""},{"id":"python","lang":"python","label":"Python","source":"from reloop_email import Reloop\n\nreloop = Reloop(api_key=\"rl_123456789\")\n\nresult = reloop.contacts.delete(\"con_123456789\")\nif result.contact_error:\n    raise result.contact_error"},{"id":"php","lang":"php","label":"PHP","source":"<?php\n\nrequire 'vendor/autoload.php';\n\nuse Reloop\\Reloop;\n\n$reloop = Reloop::client('rl_123456789');\n\n$contact = $reloop->contacts->delete('con_123456789');"},{"id":"java","lang":"java","label":"Java","source":"import sh.reloop.ReloopClient;\n\nReloopClient reloop = new ReloopClient(\"rl_123456789\");\n\nvar contact = reloop.contacts.delete(\"con_123456789\");"},{"id":"dotnet","lang":"csharp","label":".NET","source":"using Reloop;\nusing Reloop.Models;\n\nvar reloop = new ReloopClient(\"rl_123456789\");\n\nawait reloop.Contacts.DeleteAsync(\"con_123456789\");"},{"id":"go","lang":"go","label":"Go","source":"import reloop \"github.com/reloop-labs/reloop-go\"\n\nclient, _ := reloop.NewClient(reloop.ClientOptions{\n    APIKey: \"rl_123456789\",\n})\n\n_, _ = client.Contacts.Delete(\"con_123456789\")"},{"id":"rust","lang":"rust","label":"Rust","source":"use reloop::ReloopClient;\n#[tokio::main]\nasync fn main() -> Result<(), Box<dyn std::error::Error>> {\n    let reloop = ReloopClient::new(\"rl_123456789\".to_string(), None);\n\n    reloop.contacts().delete(\"con_123456789\").await?;\n\n    Ok(())\n}"},{"id":"ruby","lang":"ruby","label":"Ruby","source":"require \"reloop\"\n\nreloop = Reloop::Client.new(api_key: \"rl_123456789\")\n\nreloop.contacts.delete(\"con_123456789\")"},{"id":"elixir","lang":"elixir","label":"Elixir","source":"client = Reloop.client(\"rl_123456789\")\n\n{:ok, result} = Reloop.Services.Contacts.delete(client, \"con_123456789\")"}]
---
> For the complete documentation index, see [llms-docs.txt](/llms-docs.txt) or the site index [llms.txt](/llms.txt). Full docs corpus: [llms-full-docs.txt](/llms-full-docs.txt). Prefer markdown URLs (append `.md`) for agent consumption. Product skill: [skill.md](/skill.md).


{/* This file was generated by the OpenAPI doc generator. Do not edit this file directly. Run `bun run generate:api-docs` to regenerate. */}

<APIPage />
