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

# Delete Custom Object

> Deletes a single Custom Object row by primary key.

NsApiSlow threshold: 5000 ms.
<para />## Experimental: ## The CustomObject agent is experimental, subject to change, and not intended for partners.



## OpenAPI

````yaml /openapi/agent/openapi-v3-CustomObjectAgent.json post /api/v1/Agents/CustomObject/DeleteCustomObject
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - CustomObjectAgent
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/Agents/CustomObject/DeleteCustomObject:
    post:
      tags:
        - CustomObject_Agent
      summary: Delete Custom Object
      description: "Deletes a single Custom Object row by primary key.\n\nNsApiSlow threshold: 5000 ms.\r\n<para />## Experimental: ## The CustomObject agent is experimental, subject to change, and not intended for partners."
      operationId: v1CustomObjectAgent_DeleteCustomObject
      parameters:
        - name: $select
          in: query
          description: >-
            Optional comma separated list of properties to include in the
            result. Other fields are then nulled out to reduce payload size:
            "Name,department,category". Default = show all fields.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest
        description: DefinitionName, Id
        required: true
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.CustomObjectCarriers.DeleteCustomObjectRequest:
      description: 'DeleteCustomObject: Deletes a single Custom Object row by primary key.'
      type: object
      properties:
        DefinitionName:
          type: string
        Id:
          format: int32
          type: integer

````

## Related topics

- [Delete Custom Object](/en/api/reference/restful/rest/customobject/delete-custom-object.md)
- [SuperOffice.WebApi.Data.CustomObject DeleteCustomObjectRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.CustomObject_DeleteCustomObjectRequest.md)
- [SuperOffice.WebApi.Agents.CustomObjectAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.CustomObjectAgent.md)
- [SuperOffice.WebApi.Agents.ICustomObjectAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ICustomObjectAgent.md)
- [WebAPI changes in SuperOffice 12.1](/release-notes/12/api/changes-webapi-12.1.1412.md)
- [How to update a row in a custom object](/en/api/web-services/howto/custom-objects/rest-delete-custom-object-row.md)
