> ## Documentation Index
> Fetch the complete documentation index at: https://docs.revolv3.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Customer

> Marks a **customer record as inactive**, preventing further transactions or modifications.
This soft-delete approach ensures that the customer is no longer active in your environment but preserves historical data (e.g., transactions, invoices) for reporting and compliance purposes.

**Personal data is not physically erased** by this operation. To request full data removal (e.g., for GDPR compliance), you must submit a request through the platform's dedicated <a href="https://revolv3.atlassian.net/servicedesk/customer/portal/3/group/12/create/79">support process.</a>
Use this endpoint when a customer account needs to be closed or disabled operationally.



## OpenAPI

````yaml /api-reference/swagger.json delete /api/Customers/{customerId}
openapi: 3.0.4
info:
  title: Revolv3 OpenApi Spec
  description: Spec for Revolv3
  version: 1.29.2
servers:
  - url: https://api-sandbox.revolv3.com
security: []
paths:
  /api/Customers/{customerId}:
    delete:
      tags:
        - Customers
      summary: Delete Customer
      description: "Marks a **customer record as inactive**, preventing further transactions or modifications.\r\nThis soft-delete approach ensures that the customer is no longer active in your environment but preserves historical data (e.g., transactions, invoices) for reporting and compliance purposes.\r\n\r\n**Personal data is not physically erased** by this operation. To request full data removal (e.g., for GDPR compliance), you must submit a request through the platform's dedicated <a href=\"https://revolv3.atlassian.net/servicedesk/customer/portal/3/group/12/create/79\">support process.</a>\r\nUse this endpoint when a customer account needs to be closed or disabled operationally."
      parameters:
        - name: customerId
          in: path
          required: true
          schema:
            maximum: 1000000000
            minimum: 1
            type: integer
            format: int64
      responses:
        '200':
          description: OK
        '401':
          description: Unauthorized
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/StatusMessageResponse'
              example:
                message: Attempted to perform an unauthorized operation.
            application/json:
              schema:
                $ref: '#/components/schemas/StatusMessageResponse'
              example:
                message: Attempted to perform an unauthorized operation.
            text/json:
              schema:
                $ref: '#/components/schemas/StatusMessageResponse'
              example:
                message: Attempted to perform an unauthorized operation.
        '404':
          description: If the customer ID cannot be associated with an active customer
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/StatusMessageResponse'
              example:
                message: Unable to find an entity with the provided data.
            application/json:
              schema:
                $ref: '#/components/schemas/StatusMessageResponse'
              example:
                message: Unable to find an entity with the provided data.
            text/json:
              schema:
                $ref: '#/components/schemas/StatusMessageResponse'
              example:
                message: Unable to find an entity with the provided data.
      security:
        - XRevolv3Token: []
components:
  schemas:
    StatusMessageResponse:
      type: object
      properties:
        message:
          type: string
          nullable: true
        errors:
          type: array
          items:
            type: string
          nullable: true
        fluentValidatorErrors:
          type: array
          items:
            $ref: '#/components/schemas/ValidationFailure'
          nullable: true
      additionalProperties: false
    ValidationFailure:
      type: object
      properties:
        propertyName:
          type: string
          nullable: true
        errorMessage:
          type: string
          nullable: true
        attemptedValue:
          nullable: true
        customState:
          nullable: true
        severity:
          $ref: '#/components/schemas/Severity'
        errorCode:
          type: string
          nullable: true
        formattedMessagePlaceholderValues:
          type: object
          additionalProperties:
            nullable: true
          nullable: true
      additionalProperties: false
    Severity:
      enum:
        - Error
        - Warning
        - Info
      type: string
  securitySchemes:
    XRevolv3Token:
      type: apiKey
      in: header
      name: x-revolv3-token

````