PageSourceSearch

https://docs.twozo.io/assets/js/34621423.c4c5576f.js

js twozo.io collected 2026-10-04 22:39:25 UTC 4,179 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktlc_twozo_docs_site=self.webpackChunktlc_twozo_docs_site||[]).push([[2532],{28059:(e,t,a)=>{a.r(t),a.d(t,{DOMAIN:()=>p,assets:()=>l,contentTitle:()=>c,default:()=>x,endpointCode:()=>h,frontMatter:()=>d,metadata:()=>n,successResponse:()=>m,toc:()=>u});const n=JSON.parse('{"id":"api/company/delete","title":"Delete Company","description":"Delete a company record.","source":"@site/docs/api/company/delete.md","sourceDirName":"api/company","slug":"/api/company/delete","permalink":"/api/company/delete","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Delete Company","displayed_sidebar":"apiSidebar"},"sidebar":"apiSidebar","previous":{"title":"Get Company","permalink":"/api/company/get"},"next":{"title":"Deal API","permalink":"/api/deal/"}}');var o=a(74848),s=a(28453),i=a(76680),r=a(53044);const d={title:"Delete Company",displayed_sidebar:"apiSidebar"},c="Delete Company",l={},p="https://crm.twozo.io",h=`${p}/rest/api/v1/company/{id}`,m='{\n  "code": 0,\
1n  "data": {}\n}',u=[{value:"Endpoint",id:"endpoint",level:2}];function C(e){const t={h1:"h1",h2:"h2",header:"header",p:"p",...(0,s.R)(),...e.components};return(0,o.jsxs)("div",{className:"api-endpoint-layout",children:[(0,o.jsxs)("div",{className:"api-endpoint-content",children:[(0,o.jsx)(t.header,{children:(0,o.jsx)(t.h1,{id:"delete-company",children:"Delete Company"})}),(0,o.jsx)(t.p,{children:"Delete a company record."}),(0,o.jsx)(t.h2,{id:"endpoint",children:"Endpoint"}),(0,o.jsx)(r.A,{method:"DELETE",path:h})]}),(0,o.jsx)("div",{className:"api-endpoint-code",children:(0,o.jsx)(i.A,{title:"Response",code:m})})]})}function x(e={}){const{wrapper:t}={...(0,s.R)(),...e.components};return t?(0,o.jsx)(t,{...e,children:(0,o.jsx)(C,{...e})}):C(e)}},28453:(e,t,a)=>{a.d(t,{R:()=>i,x:()=>r});var n=a(96540);const o={},s=n.createContext(o);function i(e){const t=n.useContext(s);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function r(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(o):e.components||o:i(e.components),n.createElement(s.Provider,{value:t},e.children)}},53044:(e,t,a)=>{a.d(t,{A:()=>i});const n={container:"container_PRgA",methodBadge:"methodBadge_igGl",pathText:"pathText_Dq2S",pathBase:"pathBase_EXsq",pathLast:"pathLast_f11b"};var o=a(74848);const s={GET:"var(--color-green)",POST:"var(--color-yellow)","PUT/PATCH":"var(--color-blue)",DELETE:"var(--color-orange)"};function i({method:e,path:t}){const a=String(e||"").toUpperCase(),i=s[a]||"var(--color-text-light)",{prefix:r,leading:d,last:c}=function(e=""){const t=String(e),a=t.match(/^[a-z][a-z0-9+.-]*:\/\//i),n=a?a[0]:"",o=(n?t.slice(n.length):t).split("/").filter(Boolean);if(0===o.length)return{prefix:n||(t.startsWith("/")?"/":""),leading:"",last:""};const s=o.slice(0,-1).join("/"),i=o[o.length-1];return{prefix:n||(t.startsWith("/")?"/":""),leading:s?`${s}/`:"",last:i}}(t);return(0,o.jsxs)("div",{className:n.container,children:[(0,o.jsx)("span",{className:n.methodBadge,style:{backgroundColor:i},children:a}),(0,o.jsxs)("span",{className:n.pathText,children:[(0,o.jsxs)("span",{className:n.pathBase,children:[r,d]}),(0,o.jsx)("span",{className:n.pathLast,children:c})]})]})}},76680:(e,t,a)=>{a.d(t,{A:()=>i});var n=a(96540);const o={apiCodeCard:"apiCodeCard__9Mh",apiCodeCardHead:"apiCodeCardHead__Vmm",apiCodeCardTitle:"apiCodeCardTitle_dZ0Y"};var s=a(74848);function i({title:e,code:t}){const[a,i]=(0,n.useState)(!1),[r,d]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!a&&!r)return;const e=setTimeout(()=>{i(!1),d(!1)},1500);return()=>clearTimeout(e)},[a,r]),(0,s.jsxs)("div",{className:o.apiCodeCard,children:[(0,s.jsxs)("div",{className:o.apiCodeCardHead,children:[(0,s.jsx)("div",{className:o.apiCodeCardTitle,children:(0,s.jsx)("strong",{children:e})}),(0,s.jsx)("div",{className:"api-code-card-actions",children:(0,s.jsx)("button",{type:"button",onClick:async()=>{try{await navigator.clipboard.writeText(t),i(!0),d(!1)}catch{i(!1),d(!0)}},"aria-label":`Copy ${e} code`,children:a?"Copied":r?"Copy failed":"Copy"})})]}),(0,s.jsx)("pre",{children:(0,s.jsx)("code",{children:t})})]})}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.