---
title: Deactivate customer
slug: crossriver-apis/customer-management/apis/deactivate-customer
description: Deactivate a customer recorder after it has been removed from all accounts
icon: {"apiMethod":"DELETE"}
createdAt: 2026-09-29T15:33:40.778Z
---

## API reference

Deactivates a specific customer record using the Customer ID. The customer record is not deleted.

:::hint{type="warning"}
If the customer to be deactivated has a relationship with an account, you cannot deactivate the customer record.&#x20;
:::

:::ApiMethodV2
```json
{
  "name": "Endpoint: /core/v1/cm/customers/{id}",
  "method": "DELETE",
  "url": "https://sandbox.crbcos.com/core/v1/cm/customers/{id}",
  "description": "",
  "tab": "examples",
  "examples": {
    "languages": [
      {
        "id": "MLk-ypcj_mEBM3hc_O1v9",
        "language": "curl",
        "code": "curl --location --request DELETE 'https://sandbox.crbcos.com/core/v1/cm/customers/68f217df-f9f4-4bd6-8568-b39900888a57'",
        "customLabel": ""
      },
      {
        "id": "9FcoCAkXvJ6nlNMHwOqJH",
        "language": "nodejs",
        "code": "var https = require('follow-redirects').https;\nvar fs = require('fs');\n\nvar options = {\n  'method': 'DELETE',\n  'hostname': 'sandbox.crbcos.com',\n  'path': '/core/v1/cm/customers/68f217df-f9f4-4bd6-8568-b39900888a57',\n  'headers': {\n  },\n  'maxRedirects': 20\n};\n\nvar req = https.request(options, function (res) {\n  var chunks = [];\n\n  res.on(\"data\", function (chunk) {\n    chunks.push(chunk);\n  });\n\n  res.on(\"end\", function (chunk) {\n    var body = Buffer.concat(chunks);\n    console.log(body.toString());\n  });\n\n  res.on(\"error\", function (error) {\n    console.error(error);\n  });\n});\n\nreq.end();",
        "customLabel": ""
      },
      {
        "id": "fqLYzKHnp7mZOA8RsN6ot",
        "language": "python",
        "code": "import http.client\n\nconn = http.client.HTTPSConnection(\"sandbox.crbcos.com\")\npayload = ''\nheaders = {}\nconn.request(\"DELETE\", \"/core/v1/cm/customers/68f217df-f9f4-4bd6-8568-b39900888a57\", payload, headers)\nres = conn.getresponse()\ndata = res.read()\nprint(data.decode(\"utf-8\"))",
        "customLabel": ""
      },
      {
        "id": "NiVnc7ZwBgR9ueJupdWmI",
        "language": "ruby",
        "code": "require \"uri\"\nrequire \"net/http\"\n\nurl = URI(\"https://sandbox.crbcos.com/core/v1/cm/customers/68f217df-f9f4-4bd6-8568-b39900888a57\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Delete.new(url)\n\nresponse = https.request(request)\nputs response.read_body\n",
        "customLabel": ""
      },
      {
        "id": "1o1fdEs6SpqxwJTgRQwYZ",
        "language": "go",
        "code": "package main\n\nimport (\n  \"fmt\"\n  \"net/http\"\n  \"io\"\n)\n\nfunc main() {\n\n  url := \"https://sandbox.crbcos.com/core/v1/cm/customers/68f217df-f9f4-4bd6-8568-b39900888a57\"\n  method := \"DELETE\"\n\n  client := &http.Client {\n  }\n  req, err := http.NewRequest(method, url, nil)\n\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  res, err := client.Do(req)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  defer res.Body.Close()\n\n  body, err := io.ReadAll(res.Body)\n  if err != nil {\n    fmt.Println(err)\n    return\n  }\n  fmt.Println(string(body))\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "MLk-ypcj_mEBM3hc_O1v9"
  },
  "results": {
    "languages": [
      {
        "id": "zuoamZSUzJOVAnQseRBuz",
        "language": "200",
        "code": "{\n    \"id\": \"68f217df-f9f4-4bd6-8568-b39900888a57\",\n    \"cifNumber\": \"591180301965\",\n    \"classification\": \"Personal\",\n    \"status\": \"Inactive\",\n    \"ofac\": \"Clear\",\n    \"pepScan\": \"Clear\",\n    \"internalList\": \"Clear\",\n    \"name\": {\n        \"firstName\": \"Frank\",\n        \"lastName\": \"Thompson\",\n        \"fullName\": \"Frank Thompson\"\n    },\n    \"profile\": {\n        \"regO\": false,\n        \"citizenshipCountryCode\": \"US\",\n        \"politicallyExposedPerson\": false,\n        \"enableBackupWithholding\": false,\n        \"backupWithholdingPercent\": 0,\n        \"taxIdType\": \"Ssn\",\n        \"taxId\": \"555663232\",\n        \"birthDate\": \"1972-03-08\",\n        \"riskRating\": \"Low\",\n        \"privacyOptOut\": true\n    },\n    \"createdAt\": \"2025-11-18T03:17:07.703-05:00\",\n    \"lastModifiedAt\": \"2026-07-01T06:16:12.387589-04:00\",\n    \"partnerId\": \"cd9c12f4-7691-424a-b38b-af5b0134c611\",\n    \"dueDiligence\": {\n        \"employmentStatus\": \"Employed\",\n        \"occupation\": \"Technology\",\n        \"occupationDescription\": \"Support\",\n        \"industry\": \"Finance\",\n        \"incomeSource\": \"Salary\",\n        \"incomeState\": \"NY\",\n        \"incomeCountryCode\": \"US\",\n        \"employer\": \"Cross River\",\n        \"employerState\": \"NJ\",\n        \"employerCountryCode\": \"US\",\n        \"sourceOfFunds\": \"Salary\",\n        \"wealthSource\": \"Salary\",\n        \"wealthSourceDescription\": \"Salary\",\n        \"annualIncome\": 4500000\n    },\n    \"clientIdentifier\": \"35ba6120-f860-4caa-9479-b5aaebeca49d\"\n}",
        "customLabel": ""
      }
    ],
    "selectedLanguageId": "zuoamZSUzJOVAnQseRBuz"
  },
  "request": {
    "pathParameters": [],
    "queryParameters": [
      {
        "name": "id",
        "kind": "required",
        "type": "string",
        "description": "The unique ID assigned to the customer when the customer record is created. The ID is in GUID format."
      }
    ],
    "headerParameters": [],
    "bodyDataParameters": [],
    "formDataParameters": []
  },
  "currentNewParameter": {
    "label": "Query Parameter",
    "value": "queryParameters"
  },
  "response": [
    {
      "name": "id",
      "kind": "optional",
      "type": "string",
      "description": "The customerId of the customer record"
    },
    {
      "name": "cifNumber",
      "kind": "optional",
      "type": "string",
      "description": "The Customer Identification File (CIF) number is internal to Cross River, used to identify customers uniquely for compliance purposes",
      "children": []
    },
    {
      "name": "classification",
      "kind": "optional",
      "type": "string",
      "description": "The classification type of the customer:\n- Personal (an individual)\n- Business (a legal entity)",
      "children": []
    },
    {
      "name": "status",
      "kind": "optional",
      "type": "string",
      "description": "Status of the customer record\n- Inactive\n- Active",
      "children": []
    },
    {
      "name": "ofac",
      "kind": "optional",
      "type": "string",
      "description": "- Pending\n- Clear\n- Failed\n- Positive\n- Reviewing\n- NotScanned",
      "children": []
    },
    {
      "name": "pepScan",
      "kind": "optional",
      "type": "string",
      "description": "- Pending\n- Clear\n- Failed\n- Positive\n- Reviewing\n- NotScanned",
      "children": []
    },
    {
      "name": "internalList",
      "kind": "optional",
      "type": "string",
      "description": "- Pending\n- Clear\n- Failed\n- Positive\n- Reviewing\n- NotScanned",
      "children": []
    },
    {
      "name": "name",
      "kind": "optional",
      "type": "object",
      "description": "Customer name in detail. Business customers return only the entityName and fullName. Personal customers return all other fields if they have values.",
      "children": [
        {
          "name": "entityName",
          "kind": "optional",
          "type": "string",
          "description": "For a business customer, the legal name of the business"
        },
        {
          "name": "prefix",
          "kind": "optional",
          "type": "string",
          "description": "Prefix for name"
        },
        {
          "name": "firstName",
          "kind": "optional",
          "type": "string",
          "description": "Customer first name"
        },
        {
          "name": "middleName",
          "kind": "optional",
          "type": "string",
          "description": "Customer middle name"
        },
        {
          "name": "lastName",
          "kind": "optional",
          "type": "string",
          "description": "Customer last name"
        },
        {
          "name": "suffix",
          "kind": "optional",
          "type": "string",
          "description": "Suffix for the name"
        },
        {
          "name": "preferredName",
          "kind": "optional",
          "type": "string",
          "description": "Customer preferred name"
        },
        {
          "name": "fullName",
          "kind": "optional",
          "type": "string",
          "description": "Customer's entire name including middle initial. For a business customer this will be identical to the entityName."
        }
      ]
    },
    {
      "name": "profile",
      "kind": "required",
      "type": "object",
      "description": "Customer banking-relevant information",
      "children": [
        {
          "name": "taxIdType",
          "kind": "required",
          "type": "string",
          "description": "Tax ID type for the customer:\n- Ssn (Social security number)\n- Ein (Employer identification number)\n- Itin (Individual tax ID number)\n- Vat (International VAT number)\n- Foreign (non-US domestic)"
        },
        {
          "name": "taxId",
          "kind": "required",
          "type": "string",
          "description": "Tax ID number"
        },
        {
          "name": "riskRating",
          "kind": "required",
          "type": "string",
          "description": "Customer risk rating:\n- Low\n- Medium\n- High"
        },
        {
          "name": "regO",
          "kind": "optional",
          "type": "boolean",
          "description": "Pertains to loans issued to executive officers, directors, and principal shareholders of member banks. True if the customer is one of them. Otherwise false. \nThis attribute is not relevant for a business entity, but is required for an individual."
        },
        {
          "name": "citizenshipCountryCode",
          "kind": "optional",
          "type": "string",
          "description": "Country of citizenship (2 character ISO code)"
        },
        {
          "name": "politicallyExposedPerson",
          "kind": "optional",
          "type": "boolean",
          "description": "Politically exposed person (PEP). True if PEP, otherwise false. \nThis attribute is not relevant for a business entity, but is required for an individual."
        },
        {
          "name": "enableBackupWithholding",
          "kind": "optional",
          "type": "boolean",
          "description": "Enable to allow withholding taxes on interest earned. True when enabled, otherwise false."
        },
        {
          "name": "backupWithholdingPercent",
          "kind": "optional",
          "type": "number",
          "description": "If Backup Withholding is enabled, the percentage to withhold taxes on interest earned"
        },
        {
          "name": "birthDate",
          "kind": "optional",
          "type": "string",
          "description": "Date of birth in the format yyyy-mm-dd.\nThis attribute is not relevant for a business entity."
        },
        {
          "name": "dateFormed",
          "kind": "optional",
          "type": "string",
          "description": "Date when legal entity was  formed. In the format yyyy-mm-dd.\nNot relevant for an individual."
        },
        {
          "name": "entityType",
          "kind": "optional",
          "type": "string",
          "description": "Business entity legal classification. Also called Customer entity type."
        },
        {
          "name": "ownershipType",
          "kind": "optional",
          "type": "string",
          "description": "Relevant only for business entities:\n- Exempt\n- Excluded\n- NonProfit\n- LegalEntity"
        },
        {
          "name": "primaryOwnerCustomerId",
          "kind": "optional",
          "type": "string",
          "description": "Customer ID of the primary owner of a business account"
        },
        {
          "name": "parentEntityId",
          "kind": "optional",
          "type": "string",
          "description": "The business customer related to the customer being created. Used when a customer is a sole proprietorship or doing DBA. \nThis ID is in GUID format."
        },
        {
          "name": "dateOfDeath",
          "kind": "optional",
          "type": "string",
          "description": "Indicates the date of a customer's passing, should that occur. In the format yyyy-mm-dd."
        },
        {
          "name": "privacyOptOut",
          "kind": "optional",
          "type": "boolean",
          "description": "Customer opts out of information sharing. True when the customer opts out, otherwise false."
        }
      ]
    },
    {
      "name": "createdAt",
      "kind": "optional",
      "type": "string",
      "description": "Date and time the record was created. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]",
      "children": []
    },
    {
      "name": "lastModifiedAt",
      "kind": "optional",
      "type": "string",
      "description": "Internal Cross River value. Date and time the database entry was last modified. In this case, the date and time are in this format: yyyy-mm-ddThh:mm:ss[.mmm]",
      "children": []
    },
    {
      "name": "partnerId",
      "kind": "optional",
      "type": "string",
      "description": "Your unique ID in the Cross River system. This ID is in GUID format.",
      "children": []
    },
    {
      "name": "dueDiligence",
      "kind": "optional",
      "type": "object",
      "description": "Details for due diligence compliance for an individual customer. To  be used when required.",
      "children": [
        {
          "name": "employmentStatus",
          "kind": "optional",
          "type": "string",
          "description": "How and if the customer is employed:\n- Employed\n- SelfEmployed\n- Retired\n- Unemployed\n- Student"
        },
        {
          "name": "occupation",
          "kind": "optional",
          "type": "string",
          "description": "Possible occupation types:\n- Executive\n- Sales\n- Consulting\n- Government\n- Healthcare\n- FinanceAccounting\n- Technology\n- ScienceEngineering\n- FoodServices\n- LegalServices\n- Manufacturing\n- Other"
        },
        {
          "name": "occupationDescription",
          "kind": "optional",
          "type": "string",
          "description": "Any further details needed about the customer's occupation"
        },
        {
          "name": "industry",
          "kind": "optional",
          "type": "string",
          "description": "Possible industries:\n- Agriculture\n- Mining\n- Utilities\n- Construction\n- Manufacturing\n- ChemicalManufacturing\n- MerchantWholesale\n- Automotive\n- RetailFurnishing\n- RetailElectronics\n- RetailHome\n- RetailFood\n- HealthStores\n- Gasoline\n- RetailClothing\n- RetailSporting\n- RetailNonStore\n- Transportation\n- Publishing\n- Finance\n- RealEstate\n- RentalServices\n- ProfessionalNonLegal\n- Accounting\n- Travel\n- EducationalMedical\n- PerformingArts\n- RecreationGambling\n- FoodService\n- Maintenance\n- Laundry\n- ReligiousCharity\n- PublicAdministration"
        },
        {
          "name": "incomeSource",
          "kind": "optional",
          "type": "string",
          "description": "Possible income sources:\n- Salary\n- SelfEmployed\n- Inheritance\n- Investments\n- Retirement\n- RentalIncome\n- GovernmentBenefits\n- FamilySupport"
        },
        {
          "name": "incomeState",
          "kind": "optional",
          "type": "string",
          "description": "State where customer earns income"
        },
        {
          "name": "incomeCountryCode",
          "kind": "optional",
          "type": "string",
          "description": "2-letter ISO code of the country where the customer earns income"
        },
        {
          "name": "employer",
          "kind": "optional",
          "type": "string",
          "description": "Name of customer's employer"
        },
        {
          "name": "employerState",
          "kind": "optional",
          "type": "string",
          "description": "State where customer employer is based"
        },
        {
          "name": "employerCountryCode",
          "kind": "optional",
          "type": "string",
          "description": "2-letter ISO code of the country where the customer's employer is based"
        },
        {
          "name": "sourceOfFunds",
          "kind": "optional",
          "type": "string",
          "description": "Customer funds the account from one of these sources:\n- SelfEmployed\n- GeneralEmployee\n- SeniorExecutive\n- Retired\n- Homemaker\n- InheritanceGift\n- Investment\n- Salary\n- BusinessOwner\n- Alimony\n- Retirement\n- Lottery\n- Annuity\n- TrustIncome\n- RealEstate\n- GovernmentBenefits\n- LegalSettlement"
        },
        {
          "name": "wealthSource",
          "kind": "optional",
          "type": "string",
          "description": "Source of customer wealth:\n- Salary\n- SelfEmployed\n- Inheritance\n- FamilySupport\n- Investments\n- Retirement\n- RentalIncome\n- GovernmentBenefits\n- BusinessSale\n- Other"
        },
        {
          "name": "wealthSourceDescription",
          "kind": "optional",
          "type": "string",
          "description": "Further details about the customer's source of wealth"
        },
        {
          "name": "annualIncome",
          "kind": "optional",
          "type": "integer",
          "description": "Customer annual income"
        }
      ]
    },
    {
      "name": "businessDueDiligence",
      "kind": "optional",
      "type": "object",
      "description": "Details for due diligence compliance for a business entity. To be used when required",
      "children": [
        {
          "name": "natureOfBusiness",
          "kind": "optional",
          "type": "string",
          "description": "Nature of the business"
        },
        {
          "name": "naics",
          "kind": "optional",
          "type": "string",
          "description": "Business's North American Industry Classification System code"
        },
        {
          "name": "merchantCategoryCode",
          "kind": "optional",
          "type": "string",
          "description": "ISO-defined 4-digit number that classifies a business by the goods they sell or the services they provide. nn characters maximum"
        },
        {
          "name": "businessUrl",
          "kind": "optional",
          "type": "string",
          "description": "URL of the business"
        },
        {
          "name": "relationshipFormationDate",
          "kind": "optional",
          "type": "string",
          "description": "The date the relationship was formed"
        }
      ]
    },
    {
      "name": "clientIdentifier",
      "kind": "optional",
      "type": "string",
      "description": "Use this attribute to add your own unique identifying string to a payment call or COS record. This attribute is useful for idempotency purposes.\n50 characters maximum"
    }
  ],
  "hasTryItOut": false,
  "autoGeneratedAnchorSlug": "endpoint-corev1cmcustomersid",
  "legacyHash": "JJv8JXzfi5G3T3o6WsWGb"
}
```
:::

