<!-- נוצר אוטומטית ממקור התיעוד הקנוני של Teloring. אין לערוך קובץ זה. -->

עמוד קנוני: https://docs.teloring.com/he/api/delete-object
עודכן לאחרונה: 2026-10-15T07:55:15.000Z

# Delete an object

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";
import Translate from "@docusaurus/Translate";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Delete an object"}
>
</Heading>

<MethodEndpoint
  method={"delete"}
  path={"/objects/{object_id}"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Soft-delete a custom object. Scope `objects_admin`. The body must repeat the
object's label as `confirm_name`, exactly as the console asks a person to type it.

The object disappears from menus at once and can be restored from the console
during the grace period; its records are purged after it. Relation fields in
other objects that pointed at it are removed immediately. Built-in objects and
the Customers / Contacts objects cannot be deleted.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
>
  <Translate id="theme.openapi.request.title">Request</Translate>
</Heading>

<ParamsDetails
  {...require("./delete-object.ParamsDetails.json")}
>
  
</ParamsDetails>

<RequestSchema
  {...require("./delete-object.RequestSchema.json")}
>
  
</RequestSchema>

<StatusCodes
  {...require("./delete-object.StatusCodes.json")}
>
  
</StatusCodes>
