Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.
Delete a platform customer. Use this when an exporter offboards from your platform.
This is permanent and it cascades. Deleting a client also deletes, in a single transaction:
the stored DGFT connection for that client
every IRM record held for that client
every eBRC generation request submitted for that client
every certificate detail record enriched for that client
There is no undo and no soft delete. Certificates already issued by DGFT are unaffected on the DGFT portal, but your record of them here is gone. Export anything you need to keep first.
The operation returns 200 with a success flag, not 204.
The API has no deactivate. If you want to stop filing for an exporter while keeping their history, do not call this endpoint. Stop sending IRMs for that client, or deactivate them from the eBRC console, which has a status toggle for exactly this case and does not offer delete at all.
404Customer not found when no client with that id belongs to your account in the mode your key selects. A dev_ key cannot delete a live client, which is what stops a test integration from destroying live filing history.
500Error removing platform customer if the transaction fails. The whole cascade is one transaction, so a partial delete cannot happen.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"eBRC API","description":"REST API to generate and manage eBRCs (electronic Bank Realisation Certificates) for Indian exporters. Onboard exporters, connect their DGFT account, pull inward remittances, and generate certificates via JSON or Excel, one API key.","colors":{"primary":"#3c49ad","light":"#8d9bff","dark":"#2e3a8f"},"logo":{"light":"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/logo-light.svg?fit=max\u0026auto=format\u0026n=ywpNCEde_SJKXcDR\u0026q=85\u0026s=8b5c16c9f764205374f74175f3600e97","dark":"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/logo-dark.svg?fit=max\u0026auto=format\u0026n=ywpNCEde_SJKXcDR\u0026q=85\u0026s=d6163f1b492211c3311705bb6b161563"},"favicon":"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/favicon.png?fit=max\u0026auto=format\u0026n=ywpNCEde_SJKXcDR\u0026q=85\u0026s=9b49d683d7ce827106701275646e51fa","api":{"openapi":"api-reference/openapi.json","examples":{"defaults":"required","prefill":true}},"appearance":{"default":"light"},"background":{"color":{"light":"#ffffff","dark":"#101540"}},"navbar":{"links":[{"href":"mailto:amin@eximfiles.io","label":"Support"},{"href":"https://console.ebrc.in/sign-in","label":"Sign in"}],"primary":{"type":"button","label":"Get an API key","href":"https://console.ebrc.in/sign-up"}},"footer":{"links":[{"header":"Legal","items":[{"label":"API Terms","href":"https://ebrc.in/api-terms"},{"label":"Terms of Service","href":"https://ebrc.in/terms-of-service"},{"label":"Privacy Policy","href":"https://ebrc.in/privacy-policy"},{"label":"Compliance \u0026 Security","href":"https://ebrc.in/compliance"}]}]},"search":{"prompt":"Search the eBRC API docs"},"seo":{"metatags":{"og:type":"website","og:site_name":"eBRC API","twitter:card":"summary_large_image","keywords":"eBRC API, DGFT eBRC, eBRC full form, generate eBRC via API, eBRC status check, bulk eBRC Excel, GenEBRC, eBRC integration India, purpose codes list India, AD code, FIRC vs eBRC, EDPMS, Bank Realization Certificate"},"organization":{"name":"eBRC","url":"https://ebrc.in","logo":"https://ebrc.in/brand/ebrc-mark-round-512.png","sameAs":["https://ebrc.in","https://eximfiles.io"]},"indexing":"all"},"fonts":{"family":"Familjen Grotesk"},"styling":{"eyebrows":"section","codeblocks":"dark","latex":false},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"eximfiles","hasAudioNarration":false,"actualSubdomain":"eximfiles","customDomains":["docs.ebrc.in"],"gitSource":{"type":"github","owner":"eximfilesdev","repo":"ebrc-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"latestBuiltDeploymentHistoryId":"6ac5f5884c7e27d998e9c82b","collectionId":"285a13e7-41b0-45bd-99de-40ec63e96c13","liveDeploymentHistoryId":"6ac5f5884c7e27d998e9c82b","schemaVersion":"v3"},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6ac5f5884c7e27d998e9c82b","clientVersion":"0.0.3965","searchFilterCounts":[{"language":"default","tag":"API Reference","count":40},{"language":"default","tag":"Guides","count":8},{"language":"default","tag":"Platform customers","count":6},{"language":"default","tag":"Annexures","count":5},{"language":"default","tag":"Reference data","count":5},{"language":"default","tag":"eBRC generation","count":5},{"language":"default","tag":"Pricing and terms","count":4},{"language":"default","tag":"Data extraction","count":3},{"language":"default","tag":"IRM","count":3},{"language":"default","tag":"Essentials","count":3}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-v7-file-tree","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"pause-universal-search-reconcile","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"per-site-search-delta","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-private-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-nav-generations","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-agent-model-picker","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"isAtlas":false,"googleFontsInlined":true},"customCss":[{"filePath":"style.css","content":"@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/familjengrotesk/v11/Qw3LZR9ZHiDnImG6-NEMQ41wby8WRnYsfkunR_eGfMGJaSzt.ttf) format('truetype')}@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url(https://fonts.gstatic.com/s/familjengrotesk/v11/Qw3LZR9ZHiDnImG6-NEMQ41wby8WRnYsfkunR_eGfMG7aSzt.ttf) format('truetype')}@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/familjengrotesk/v11/Qw3LZR9ZHiDnImG6-NEMQ41wby8WRnYsfkunR_eGfMFXbizt.ttf) format('truetype')}@font-face{font-family:'Familjen Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url(https://fonts.gstatic.com/s/familjengrotesk/v11/Qw3LZR9ZHiDnImG6-NEMQ41wby8WRnYsfkunR_eGfMFubizt.ttf) format('truetype')}@font-face{font-family:'Familjen Grotesk';font-style:italic;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/familjengrotesk/v11/Qw31ZR9ZHiDnImG6-NEMQ41wby8WbH8egZPOLG0oe9RBKsSueVw.ttf) format('truetype')}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8yKxjPQ.ttf) format('truetype')}@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url(https://fonts.gstatic.com/s/jetbrainsmono/v24/tDbY2o-flEEny0FZhsfKu5WU4zr3E_BX0PnT8RD8FqtjPQ.ttf) format('truetype')}a,blockquote,body,button,dd,dt,figcaption,h1,h2,h3,h4,h5,h6,input,label,li,p,select,span,td,textarea,th{font-family:'Familjen Grotesk',system-ui,-apple-system,sans-serif}.font-mono,[class*=font-mono],[class*=font-mono] *,code,code *,kbd,pre,pre *,samp{font-family:'JetBrains Mono',ui-monospace,SFMono-Regular,Menlo,monospace!important}h1{letter-spacing:-.025em}h2{letter-spacing:-.02em}::selection{background:rgba(60,73,173,.22)}"}],"page":{"pagePath":"api-reference/customer/delete","slug":"/api-reference/customer/delete","pageMetadata":{"title":"Delete Customer","description":"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.","openapi":"DELETE /platform-customers/{id}","href":"/api-reference/customer/delete"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Delete a platform customer. Use this when an exporter offboards from your platform.`}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:`This is permanent and it cascades. Deleting a client also deletes, in a single transaction:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`the stored DGFT connection for that client`}),`\n`,_jsx(_components.li,{children:`every IRM record held for that client`}),`\n`,_jsx(_components.li,{children:`every eBRC generation request submitted for that client`}),`\n`,_jsx(_components.li,{children:`every certificate detail record enriched for that client`}),`\n`]}),_jsx(_components.p,{children:`There is no undo and no soft delete. Certificates already issued by DGFT are unaffected on the DGFT portal, but your record of them here is gone. Export anything you need to keep first.`})]}),`\n`,_jsxs(_components.p,{children:[`The operation returns `,_jsx(_components.code,{children:`200`}),` with a success flag, not `,_jsx(_components.code,{children:`204`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`delete-is-not-deactivate`,children:`Delete is not deactivate`}),`\n`,_jsx(_components.p,{children:`The API has no deactivate. If you want to stop filing for an exporter while keeping their history, do not call this endpoint. Stop sending IRMs for that client, or deactivate them from the eBRC console, which has a status toggle for exactly this case and does not offer delete at all.`}),`\n`,_jsx(Heading,{level:`3`,id:`request-example`,children:`Request example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --location`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --request`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` DELETE`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'https://api.ebrc.in/api/v1/platform-customers/ee849a90-7a28-49b4-8cb2-8e31041650a2'`}),_jsx(_components.span,{style:{color:`#D7BA7D`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` --header`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'x-api-key: \u003cYOUR_API_KEY>'`})]}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`response-example`,children:`Response example`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`8`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"success\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"statusCode\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`200`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"timestamp\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-07-22T11:10:44.120Z\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`3`,id:`errors`,children:`Errors`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`401`}),` `,_jsx(_components.code,{children:`No API key provided`}),` or `,_jsx(_components.code,{children:`Invalid API key`}),`. See `,_jsx(_components.a,{href:`/authentication#authentication-errors`,children:`authentication errors`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`404`}),` `,_jsx(_components.code,{children:`Customer not found`}),` when no client with that id belongs to your account `,_jsx(_components.strong,{children:`in the mode your key selects`}),`. A `,_jsx(_components.code,{children:`dev_`}),` key cannot delete a live client, which is what stops a test integration from destroying live filing history.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`500`}),` `,_jsx(_components.code,{children:`Error removing platform customer`}),` if the transaction fails. The whole cascade is one transaction, so a partial delete cannot happen.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`3`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/customer/get`,children:`List remaining customers`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/customer/create`,children:`Create a new customer`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Questions about data retention: `,_jsx(_components.a,{href:`mailto:amin@eximfiles.io`,children:`amin@eximfiles.io`}),`.`]}),`\n`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Delete Customer","description":"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.","openapi":"DELETE /platform-customers/{id}","href":"/api-reference/customer/delete"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Delete is not deactivate","slug":"delete-is-not-deactivate","depth":3,"children":[]},{"title":"Request example","slug":"request-example","depth":3,"children":[]},{"title":"Response example","slug":"response-example","depth":3,"children":[]},{"title":"Errors","slug":"errors","depth":3,"children":[]},{"title":"Next steps","slug":"next-steps","depth":3,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/eximfiles/e66145a56b4c42d9/usage.js"],"openApiReferenceData":{"operation":{"description":"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.","parameters":["26a8432e-ed54-45c2-83eb-aa7b27d2dd2b"],"responses":{"200":"f5e2991d-17d9-4ec6-a335-6d16d2ec3aa6","401":"6557ce54-458a-42c9-9e17-ea767fd87fea","403":"27b99808-94ca-451a-8d3f-d75e326c41ea","404":"8a3545f2-2c3b-44d9-a75a-632b7bffa48c"},"operationId":"deletePlatformCustomer","summary":"Delete a platform customer","method":"delete","type":"path","servers":["f3db0958-ca96-4bdf-a120-1155e2635e37"],"security":["17dd6563-7385-47b2-a452-1101609b3e74"],"path":"/platform-customers/{id}","baseUrlOptions":["https://api.ebrc.in/api/v1"],"title":"Delete a platform customer","codeSamples":[],"requiredOnlyExamples":true,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"26a8432e-ed54-45c2-83eb-aa7b27d2dd2b":{"name":"id","in":"path","required":true,"description":"The customer ID","schema":{"type":"string","isRequired":true,"description":"The customer ID","uniqueKey":"","typeLabel":"string"}}},"responses":{"f5e2991d-17d9-4ec6-a335-6d16d2ec3aa6":{"description":"Deletion confirmation","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":true}}},"exampleType":"generated"}},"exampleType":"generated"},"6557ce54-458a-42c9-9e17-ea767fd87fea":{"description":"Missing, invalid or revoked API key","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"27b99808-94ca-451a-8d3f-d75e326c41ea":{"description":"Key is not a platform key, or the platform agreement is not signed","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"},"8a3545f2-2c3b-44d9-a75a-632b7bffa48c":{"description":"Customer not found","content":{"application/json":{"schema":{"type":"object","properties":{"code":{"type":"string","uniqueKey":"code","typeLabel":"string"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"code":"\u003cstring>","message":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"17dd6563-7385-47b2-a452-1101609b3e74":{"x-api-key":{"type":"apiKey","name":"x-api-key","in":"header","scopes":[]}}},"servers":{"f3db0958-ca96-4bdf-a120-1155e2635e37":{"url":"https://api.ebrc.in/api/v1","description":"eBRC API. One base URL for both modes: a dev_ API key runs in test mode, a prod_ key files live."}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"x-api-key","in":"header","scopes":[]},"schema":{"title":"x-api-key","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"x-api-key","name":"x-api-key"}],"title":"x-api-key"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"eximfiles","siteName":"eBRC API","title":"Delete Customer - eBRC API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-03T19:21:59.174Z","originalFileLocation":"api-reference/customer/delete.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.\">\u003cmeta data-mint-head name=\"keywords\" content=\"eBRC API, DGFT eBRC, eBRC full form, generate eBRC via API, eBRC status check, bulk eBRC Excel, GenEBRC, eBRC integration India, purpose codes list India, AD code, FIRC vs eBRC, EDPMS, Bank Realization Certificate\">\u003cmeta data-mint-head name=\"application-name\" content=\"eBRC API\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=ywpNCEde_SJKXcDR\u0026amp;q=85\u0026amp;s=9b49d683d7ce827106701275646e51fa\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=ywpNCEde_SJKXcDR\u0026amp;q=85\u0026amp;s=9b49d683d7ce827106701275646e51fa\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=ywpNCEde_SJKXcDR\u0026amp;q=85\u0026amp;s=9b49d683d7ce827106701275646e51fa\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/png\" href=\"https://mintcdn.com/eximfiles/ywpNCEde_SJKXcDR/public/favicon.png?fit=max\u0026amp;auto=format\u0026amp;n=ywpNCEde_SJKXcDR\u0026amp;q=85\u0026amp;s=9b49d683d7ce827106701275646e51fa\">\u003cmeta data-mint-head property=\"og:title\" content=\"Delete Customer - eBRC API\">\u003cmeta data-mint-head property=\"og:description\" content=\"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"eBRC API\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.ebrc.in/api-reference/customer/delete\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://eximfiles.mintlify.app/_mintlify/api/og/v2?division=Platform+customers\u0026amp;title=Delete+Customer\u0026amp;description=Delete+a+platform+customer+and+all+of+its+filing+history+from+your+account+by+id.+This+is+permanent+and+cascades+to+the+stored+DGFT+connection%2C+remittances%2C+gen\u0026amp;theme=b1617cf1cccc8755c98f5316\u0026amp;signature=f03423eeebc474956a642dca6fa001f6e69e6a0ee96968bb929dad2aa670e97b\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Delete Customer - eBRC API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://eximfiles.mintlify.app/_mintlify/api/og/v2?division=Platform+customers\u0026amp;title=Delete+Customer\u0026amp;description=Delete+a+platform+customer+and+all+of+its+filing+history+from+your+account+by+id.+This+is+permanent+and+cascades+to+the+stored+DGFT+connection%2C+remittances%2C+gen\u0026amp;theme=b1617cf1cccc8755c98f5316\u0026amp;signature=f03423eeebc474956a642dca6fa001f6e69e6a0ee96968bb929dad2aa670e97b\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/eximfiles/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"eBRC API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3c49ad\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.ebrc.in/api-reference/customer/delete\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/customer/delete.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://ebrc.in/#organization\",\"name\":\"eBRC\",\"url\":\"https://ebrc.in\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://ebrc.in/brand/ebrc-mark-round-512.png\"},\"sameAs\":[\"https://ebrc.in\",\"https://eximfiles.io\"]},{\"@type\":\"WebSite\",\"@id\":\"https://docs.ebrc.in#website\",\"name\":\"eBRC API\",\"url\":\"https://docs.ebrc.in\",\"publisher\":{\"@id\":\"https://ebrc.in/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.ebrc.in/api-reference/customer/delete#webpage\",\"url\":\"https://docs.ebrc.in/api-reference/customer/delete\",\"name\":\"Delete Customer\",\"description\":\"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.\",\"dateModified\":\"2026-08-03T19:21:59.174Z\",\"isPartOf\":{\"@id\":\"https://docs.ebrc.in#website\"},\"breadcrumb\":{\"@id\":\"https://docs.ebrc.in/api-reference/customer/delete#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.ebrc.in/api-reference/customer/delete#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.ebrc.in/api-reference/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Platform customers\",\"item\":\"https://docs.ebrc.in/api-reference/customer/create\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Delete Customer\",\"item\":\"https://docs.ebrc.in/api-reference/customer/delete\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.ebrc.in/api-reference/customer/delete#apireference\",\"headline\":\"Delete Customer\",\"name\":\"Delete Customer\",\"description\":\"Delete a platform customer and all of its filing history from your account by id. This is permanent and cascades to the stored DGFT connection, remittances, generation requests and certificate details.\",\"url\":\"https://docs.ebrc.in/api-reference/customer/delete\",\"mainEntityOfPage\":{\"@id\":\"https://docs.ebrc.in/api-reference/customer/delete#webpage\"},\"dateModified\":\"2026-08-03T19:21:59.174Z\",\"publisher\":{\"@id\":\"https://ebrc.in/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.ebrc.in#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"eBRC API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"eBRC API","nav":{"global":null,"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Platform customers","pages":[{"title":"Create Customer","openapi":"POST /platform-customers","href":"/api-reference/customer/create"},{"title":"Validate Customer","openapi":"POST /platform-customers/{id}/check-dgft-credentials","href":"/api-reference/customer/validate"},{"title":"Get Customers List","openapi":"GET /platform-customers","href":"/api-reference/customer/get"},{"title":"Get Customer by Id","openapi":"GET /platform-customers/{id}","href":"/api-reference/customer/getById"},{"title":"Update Customer","description":"Partially update a platform customer's name, company name, or address. The IEC, email, type and mode are fixed after creation, and DGFT credentials are changed via the validate endpoint.","openapi":"PATCH /platform-customers/{id}","href":"/api-reference/customer/update"},{"title":"Delete Customer","openapi":"DELETE /platform-customers/{id}","href":"/api-reference/customer/delete"}]},{"group":"IRM","pages":[{"title":"Fetch IRM List","description":"Refresh inward remittances (IRMs) for a platform customer and return the latest records, the first step before mapping them and generating an eBRC.","openapi":"POST /irm/refresh","href":"/api-reference/irm/post"},{"title":"List Saved IRMs","openapi":"GET /irm","href":"/api-reference/irm/list"},{"title":"Load IRMs in Excel","openapi":"GET /irm/bulk-template","href":"/api-reference/irm/bulk-template"}]},{"group":"eBRC generation","pages":[{"title":"Submit IRMs for eBRC Generation","openapi":"POST /genebrc/push-irm","href":"/api-reference/genebrc/push-irm"},{"title":"Get Request Status","openapi":"POST /genebrc/status","href":"/api-reference/genebrc/status"},{"title":"List Generation Requests","openapi":"GET /genebrc","href":"/api-reference/genebrc/list"},{"title":"Fetch eBRC Details","openapi":"POST /genebrc/fetch-details","href":"/api-reference/genebrc/fetch-details"},{"title":"Download eBRC PDF","href":"/api-reference/genebrc/download"}]},{"group":"Bulk and Excel","pages":[{"title":"Download Bulk Upload Template","openapi":"GET /genebrc/bulk-upload/template","href":"/api-reference/genebrc/bulk-upload-template"},{"title":"Bulk Upload via Excel","openapi":"POST /genebrc/bulk-upload","href":"/api-reference/genebrc/bulk-upload"}]},{"group":"Data extraction","pages":[{"title":"Data Extraction","href":"/api-reference/extraction/introduction"},{"title":"Extract Shipping Bill Data","href":"/api-reference/extraction/shipping-bills"},{"title":"Verification","href":"/api-reference/extraction/verification"}]}]}]},{"tab":"Annexures","pages":[{"title":"Annexures","href":"/annexure/push-irm"}]},{"tab":"Pricing and terms","pages":[{"title":"Pricing and terms","href":"/pricing"}]}]},"title":"Delete Customer - eBRC API","buildId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","deploymentId":"dpl_849ArpqvBiCczQiT1Y1stNGpbqHT","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Bbp7I60D.js","utils-C3RIvJha.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DqD-vLt8.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B31Loprg.js","snippetPresets-DKpk-b8t.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-Cj65AhOR.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BXtn5gcC.js","shallow-RY2b03Cp.js","getApiPlaygroundDisplay-B0jeiPk3.js","CodeSnippet-CYgBjjwn.js","CodeSnippets-DOngDrYB.js","Page-n7I5XbKb.js","getPastedJson-DRQbJx-T.js","icon-CQiQCicY.js","MethodPill-BKTLdNtu.js","DuplicateIcon-B9jpAdat.js","createIcon-DCddRrXv.js","DynamicMarkdown-a8hUKrw6.js","SectionHeading-eECVV2eH.js","axios-vUo_bRtp.js","Markdown--GF7ZIpf.js","clsx-DZLdJUrt.js","lib--scc4DXi.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-2LoAhjKH.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Zwc0ZncM.js"]}