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

# Delete a CRM Object

> Delete a custom CRM object and all its records via the Zeeg CRM API. Removes attribute definitions and relation links; standard objects can't be deleted

<Warning>
  This action is permanent and cannot be undone.
</Warning>

Deleting a CRM object permanently removes:

* The object definition and all its attribute definitions
* **All records** stored in the object
* Any `relation` attributes in other objects that pointed to this object (the attribute is removed from those objects automatically)

Standard objects (`people`, `companies`) cannot be deleted — the endpoint returns `403`.


## OpenAPI

````yaml DELETE /crm/objects/{slug}
openapi: 3.0.0
info:
  title: Zeeg Public API
  description: >-
    Zeeg public API documentation.


    ## Authentication

    All endpoints require a Bearer token. You can generate an API token from
    [your Zeeg dashboard](https://app.zeeg.me/account/settings/api-access).


    Each token is scoped to specific permissions (e.g. `events:read`,
    `webhooks:write`). Make sure your token has the required scopes for the
    endpoints you want to use.


    ## Recommended Headers

    We recommend including the `Accept: application/json` header in all API
    requests to ensure you receive JSON responses.
  version: 2.0.0
  x-logo:
    url: https://app.zeeg.me/img/logo-dark.2ca83593.svg
    backgroundColor: '#f7f7f9'
    altText: zeeg
  contact:
    name: Zeeg Support
    email: support@zeeg.me
    url: https://zeeg.me/en/contact
  license:
    name: Proprietary
    url: https://zeeg.me/en/legal/terms
  termsOfService: https://zeeg.me/en/legal/terms
servers:
  - url: https://api.zeeg.me/v2
    description: Production
security:
  - bearer: []
tags:
  - name: Scheduled Events
    description: Management of events scheduled via Zeeg
  - name: Scheduling Pages
    description: Scheduling pages information and management
  - name: Availability Schedule
    description: Read and change availability for users
  - name: Webhooks
    description: Webhooks management
  - name: Notes
    description: Notes for scheduled events
  - name: Workspaces & Teams
    description: Workspace users and team member management
  - name: AI Agent
    description: AI Agent integration endpoints
  - name: Payloads
    description: Webhook payload schemas
  - name: CRM - Objects
    description: >-
      Discover the schema of CRM objects (standard and custom) including all
      attribute definitions
  - name: CRM - Companies
    description: Create, read, update, and delete CRM company records
  - name: CRM - People
    description: Create, read, update, and delete CRM person records
paths:
  /crm/objects/{slug}:
    delete:
      tags:
        - CRM - Objects
      summary: Delete a CRM object
      description: >-
        Permanently deletes a custom CRM object along with all its records and
        attribute definitions.


        This action is irreversible. All data stored in the object's records
        will be lost.


        Standard objects (`people`, `companies`) cannot be deleted.


        **Required scope:** `crm:write`
      operationId: delete-crm-object-by-slug
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
            example: products
          description: The slug of the custom object to delete.
      responses:
        '200':
          description: OK — object deleted
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  status:
                    type: integer
                    example: 200
                  message:
                    type: string
                    example: Object deleted.
              examples:
                Success:
                  value:
                    success: true
                    status: 200
                    message: Object deleted.
        '401':
          $ref: '#/components/responses/401'
        '403':
          description: >-
            Forbidden — missing scope, CRM not enabled, or attempt to delete a
            standard object
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: integer
              examples:
                Standard object:
                  value:
                    success: false
                    message: You do not have permission to update standard objects.
                    status: 403
        '404':
          description: Object not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
                  status:
                    type: integer
              examples:
                Not found:
                  value:
                    success: false
                    message: Object not found.
                    status: 404
      security:
        - bearer: []
components:
  responses:
    '401':
      description: Unauthorized
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                example: Unauthenticated.
          examples:
            Unauthenticated:
              value:
                message: Unauthenticated.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: ''

````