[{"data":1,"prerenderedAt":650},["ShallowReactive",2],{"navigation":3,"/api/shares/delete":258,"/api/shares/delete-surround":645},[4,22,63,85,115,131,219,245],{"title":5,"path":6,"stem":7,"children":8,"page":21},"Getting Started","/getting-started","1.getting-started",[9,13,17],{"title":10,"path":11,"stem":12},"Introduction","/getting-started/introduction","1.getting-started/1.introduction",{"title":14,"path":15,"stem":16},"Quick Start","/getting-started/quick-start","1.getting-started/2.quick-start",{"title":18,"path":19,"stem":20},"Key Concepts","/getting-started/key-concepts","1.getting-started/3.key-concepts",false,{"title":23,"path":24,"stem":25,"children":26,"page":21},"Guides","/guides","2.guides",[27,31,35,39,43,47,51,55,59],{"title":28,"path":29,"stem":30},"Quick Share Guide","/guides/quick-share","2.guides/1.quick-share",{"title":32,"path":33,"stem":34},"Slack Integration","/guides/slack-integration","2.guides/2.slack-integration",{"title":36,"path":37,"stem":38},"Enterprise Setup","/guides/enterprise-setup","2.guides/3.enterprise-setup",{"title":40,"path":41,"stem":42},"Creating a Share","/guides/creating-a-share","2.guides/4.creating-a-share",{"title":44,"path":45,"stem":46},"Zero-Knowledge Custody","/guides/zero-knowledge-custody","2.guides/5.zero-knowledge-custody",{"title":48,"path":49,"stem":50},"Secure Requests","/guides/secure-requests","2.guides/6.secure-requests",{"title":52,"path":53,"stem":54},"Receiving a Secure Request","/guides/receiving-a-secure-request","2.guides/7.receiving-a-secure-request",{"title":56,"path":57,"stem":58},"SecurePaste","/guides/securepaste","2.guides/8.securepaste",{"title":60,"path":61,"stem":62},"Notifications","/guides/notifications","2.guides/9.notifications",{"title":64,"icon":65,"path":66,"stem":67,"children":68,"page":21},"Account","i-lucide-user-cog","/account","3.account",[69,73,77,81],{"title":70,"path":71,"stem":72},"Signing In","/account/signing-in","3.account/1.signing-in",{"title":74,"path":75,"stem":76},"Plans and Share Allowance","/account/plans-and-share-allowance","3.account/2.plans-and-share-allowance",{"title":78,"path":79,"stem":80},"Billing and Subscription","/account/billing-and-subscription","3.account/3.billing-and-subscription",{"title":82,"path":83,"stem":84},"Plans and Limits","/account/plans-and-limits","3.account/4.plans-and-limits",{"title":86,"icon":87,"path":88,"stem":89,"children":90,"page":21},"Teams","i-lucide-users","/teams","4.teams",[91,95,99,103,107,111],{"title":92,"path":93,"stem":94},"Teams and Contexts","/teams/teams-and-contexts","4.teams/1.teams-and-contexts",{"title":96,"path":97,"stem":98},"Members, Roles and Seats","/teams/members-roles-and-seats","4.teams/2.members-roles-and-seats",{"title":100,"path":101,"stem":102},"Joining a Team","/teams/joining-a-team","4.teams/3.joining-a-team",{"title":104,"path":105,"stem":106},"Custom Branding","/teams/custom-branding","4.teams/4.custom-branding",{"title":108,"path":109,"stem":110},"Policy and Audit","/teams/policy-and-audit","4.teams/5.policy-and-audit",{"title":112,"path":113,"stem":114},"Zero-Knowledge for Teams","/teams/zero-knowledge-for-teams","4.teams/6.zero-knowledge-for-teams",{"title":116,"path":117,"stem":118,"children":119,"icon":130},"Help","/help","5.help/0.index",[120,122,126],{"title":121,"path":117,"stem":118},"Help and Support",{"title":123,"path":124,"stem":125},"Link Not Working","/help/link-not-working","5.help/1.link-not-working",{"title":127,"path":128,"stem":129},"Error Messages","/help/error-messages","5.help/2.error-messages","i-lucide-life-buoy",{"title":132,"path":133,"stem":134,"children":135},"API Reference","/api","6.api/0.index",[136,137,141,167,189,193,211,215],{"title":132,"path":133,"stem":134},{"title":138,"path":139,"stem":140},"Authentication","/api/authentication","6.api/1.authentication",{"title":142,"path":143,"stem":144,"children":145},"Shares","/api/shares","6.api/2.shares/0.index",[146,147,151,155,159,163],{"title":142,"path":143,"stem":144},{"title":148,"path":149,"stem":150},"Create a share","/api/shares/create","6.api/2.shares/1.create",{"title":152,"path":153,"stem":154},"List shares","/api/shares/list","6.api/2.shares/2.list",{"title":156,"path":157,"stem":158},"Retrieve a share","/api/shares/retrieve","6.api/2.shares/3.retrieve",{"title":160,"path":161,"stem":162},"Expire a share","/api/shares/delete","6.api/2.shares/4.delete",{"title":164,"path":165,"stem":166},"Client-side encryption","/api/shares/client-side-encryption","6.api/2.shares/5.client-side-encryption",{"title":168,"path":169,"stem":170,"children":171},"Secure requests","/api/requests","6.api/3.requests/0.index",[172,173,177,181,185],{"title":168,"path":169,"stem":170},{"title":174,"path":175,"stem":176},"Create a request","/api/requests/create","6.api/3.requests/1.create",{"title":178,"path":179,"stem":180},"List and retrieve requests","/api/requests/list","6.api/3.requests/2.list",{"title":182,"path":183,"stem":184},"Read submissions","/api/requests/submissions","6.api/3.requests/3.submissions",{"title":186,"path":187,"stem":188},"Expire or delete a request","/api/requests/delete","6.api/3.requests/4.delete",{"title":190,"path":191,"stem":192},"Stats","/api/stats","6.api/4.stats",{"title":194,"path":195,"stem":196,"children":197},"Webhooks","/api/webhooks","6.api/5.webhooks/0.index",[198,199,203,207],{"title":194,"path":195,"stem":196},{"title":200,"path":201,"stem":202},"Event reference","/api/webhooks/events","6.api/5.webhooks/1.events",{"title":204,"path":205,"stem":206},"Verifying signatures","/api/webhooks/verifying-signatures","6.api/5.webhooks/2.verifying-signatures",{"title":208,"path":209,"stem":210},"Delivery and retries","/api/webhooks/delivery-and-retries","6.api/5.webhooks/3.delivery-and-retries",{"title":212,"path":213,"stem":214},"MCP server","/api/mcp","6.api/6.mcp",{"title":216,"path":217,"stem":218},"Errors and Rate Limits","/api/errors-and-limits","6.api/7.errors-and-limits",{"title":220,"path":221,"stem":222,"children":223},"SDKs","/sdks","7.sdks/0.index",[224,225,229,233,237,241],{"title":220,"path":221,"stem":222},{"title":226,"path":227,"stem":228},"Node SDK","/sdks/node","7.sdks/1.node",{"title":230,"path":231,"stem":232},"Python SDK","/sdks/python","7.sdks/2.python",{"title":234,"path":235,"stem":236},"Go SDK","/sdks/go","7.sdks/3.go",{"title":238,"path":239,"stem":240},"Rust SDK","/sdks/rust","7.sdks/4.rust",{"title":242,"path":243,"stem":244},"Conformance vectors","/sdks/conformance-vectors","7.sdks/5.conformance-vectors",{"title":246,"path":247,"stem":248,"children":249,"page":21},"Security","/security","8.security",[250,254],{"title":251,"path":252,"stem":253},"Encryption","/security/encryption","8.security/1.encryption",{"title":255,"path":256,"stem":257},"Compliance","/security/compliance","8.security/2.compliance",{"id":259,"title":160,"api":260,"body":261,"description":639,"extension":640,"links":260,"meta":641,"navigation":642,"path":161,"seo":643,"stem":162,"__hash__":644},"docs/6.api/2.shares/4.delete.md",null,{"type":262,"value":263,"toc":631},"minimark",[264,275,287,302,307,346,350,356,400,425,429,432,435,438,442,453,459,462,469,504,507,524,528,618,627],[265,266,272],"pre",{"className":267,"code":269,"language":270,"meta":271},[268],"language-text","DELETE /v1/shares/{shortCode}\n","text","",[273,274,269],"code",{"__ignoreMap":271},[276,277,278,279,282,283,286],"p",{},"Requires the ",[273,280,281],{},"shares:write"," scope. Ends a share your account created, immediately, whatever its ",[273,284,285],{},"expired_at"," or remaining views said.",[276,288,289,292,293,296,297,301],{},[273,290,291],{},"{shortCode}"," is the ",[273,294,295],{},"short_code"," from the ",[298,299,300],"a",{"href":149},"create"," response, not a database id.",[303,304,306],"h2",{"id":305},"request","Request",[265,308,312],{"className":309,"code":310,"language":311,"meta":271,"style":271},"language-bash shiki shiki-themes github-light github-dark github-dark","curl -X DELETE https://api.credenshare.io/v1/shares/a1b2c3d4 \\\n  -H \"Authorization: Bearer crs_sk_live_\u003CkeyId>.\u003CauthSecret>\"\n","bash",[273,313,314,337],{"__ignoreMap":271},[315,316,319,323,327,331,334],"span",{"class":317,"line":318},"line",1,[315,320,322],{"class":321},"shcOC","curl",[315,324,326],{"class":325},"suiK_"," -X",[315,328,330],{"class":329},"sfrk1"," DELETE",[315,332,333],{"class":329}," https://api.credenshare.io/v1/shares/a1b2c3d4",[315,335,336],{"class":325}," \\\n",[315,338,340,343],{"class":317,"line":339},2,[315,341,342],{"class":325},"  -H",[315,344,345],{"class":329}," \"Authorization: Bearer crs_sk_live_\u003CkeyId>.\u003CauthSecret>\"\n",[303,347,349],{"id":348},"success-response","Success response",[276,351,352,355],{},[273,353,354],{},"200 OK",", with a body:",[265,357,361],{"className":358,"code":359,"language":360,"meta":271,"style":271},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"success\": true,\n  \"message\": \"ok\"\n}\n","json",[273,362,363,369,383,394],{"__ignoreMap":271},[315,364,365],{"class":317,"line":318},[315,366,368],{"class":367},"slsVL","{\n",[315,370,371,374,377,380],{"class":317,"line":339},[315,372,373],{"class":325},"  \"success\"",[315,375,376],{"class":367},": ",[315,378,379],{"class":325},"true",[315,381,382],{"class":367},",\n",[315,384,386,389,391],{"class":317,"line":385},3,[315,387,388],{"class":325},"  \"message\"",[315,390,376],{"class":367},[315,392,393],{"class":329},"\"ok\"\n",[315,395,397],{"class":317,"line":396},4,[315,398,399],{"class":367},"}\n",[401,402,405],"callout",{"color":403,"icon":404},"warning","i-lucide-alert-triangle",[276,406,407,408,411,412,416,417,420,421,424],{},"This endpoint returns ",[273,409,410],{},"200"," with that body. It does ",[413,414,415],"strong",{},"not"," return ",[273,418,419],{},"204 No Content",". A client that treats an empty body as the success case, or that only accepts ",[273,422,423],{},"204",", will misread every successful call.",[303,426,428],{"id":427},"what-expire-means","What \"expire\" means",[276,430,431],{},"The share is expired, not scrubbed from existence. The record moves into CredenShare's expired-share history so it still appears in your account's history and audit trail, and the link stops working from that moment.",[276,433,434],{},"The content is unreachable either way. It was only ever ciphertext here, and the key was only ever in the link.",[276,436,437],{},"There is no undo. A share cannot be un-expired, so recovering from a mistaken call means creating a new share — which means a new content key, a new short code and a new link.",[303,439,441],{"id":440},"scope-and-ownership","Scope and ownership",[276,443,444,445,448,449,452],{},"You can expire shares belonging to your own account. A short code that is not on your account returns ",[273,446,447],{},"404",", exactly as it does on ",[298,450,451],{"href":157},"retrieve",", so the endpoint cannot be used to learn whether a short code exists elsewhere.",[276,454,455,456,458],{},"The ",[273,457,281],{}," scope is required. It is the same scope as create, and scopes are matched exactly — a read-only key cannot expire anything.",[303,460,194],{"id":461},"webhooks",[276,463,464,465,468],{},"A successful call emits the ",[273,466,467],{},"share.deleted"," event:",[265,470,472],{"className":358,"code":471,"language":360,"meta":271,"style":271},"{\n  \"event\": \"share.deleted\",\n  \"short_code\": \"a1b2c3d4\"\n}\n",[273,473,474,478,490,500],{"__ignoreMap":271},[315,475,476],{"class":317,"line":318},[315,477,368],{"class":367},[315,479,480,483,485,488],{"class":317,"line":339},[315,481,482],{"class":325},"  \"event\"",[315,484,376],{"class":367},[315,486,487],{"class":329},"\"share.deleted\"",[315,489,382],{"class":367},[315,491,492,495,497],{"class":317,"line":385},[315,493,494],{"class":325},"  \"short_code\"",[315,496,376],{"class":367},[315,498,499],{"class":329},"\"a1b2c3d4\"\n",[315,501,502],{"class":317,"line":396},[315,503,399],{"class":367},[276,505,506],{},"Two details matter if you subscribe to it:",[508,509,510,517],"ul",{},[511,512,513,514,516],"li",{},"The payload carries ",[273,515,295],{}," and nothing else. No title, no timestamp in the body, no reason.",[511,518,519,520,523],{},"The event is attributed to the ",[413,521,522],{},"share's owner",", not to the caller. When a team key expires a share, the endpoints that receive the event are the owner's.",[303,525,527],{"id":526},"errors","Errors",[529,530,531,549],"table",{},[532,533,534],"thead",{},[535,536,537,541,546],"tr",{},[538,539,540],"th",{},"Status",[538,542,543],{},[273,544,545],{},"error_code",[538,547,548],{},"When",[550,551,552,568,582,592,607],"tbody",{},[535,553,554,558,561],{},[555,556,557],"td",{},"400",[555,559,560],{},"44",[555,562,563,564,567],{},"No short code in the path. ",[273,565,566],{},"DELETE /v1/shares"," is not a bulk delete.",[535,569,570,573,576],{},[555,571,572],{},"403",[555,574,575],{},"78",[555,577,578,579,581],{},"The key lacks the ",[273,580,281],{}," scope.",[535,583,584,586,589],{},[555,585,447],{},[555,587,588],{},"1",[555,590,591],{},"No such share on this account, or it has already expired.",[535,593,594,597,600],{},[555,595,596],{},"429",[555,598,599],{},"107",[555,601,602,603,606],{},"Rate limit exceeded. ",[273,604,605],{},"Retry-After"," gives the seconds to wait.",[535,608,609,612,615],{},[555,610,611],{},"500",[555,613,614],{},"42",[555,616,617],{},"The share was found but could not be expired.",[276,619,620,621,623,624,626],{},"A repeated call on the same short code returns ",[273,622,447],{},", because the first call already removed it from the active set. Treat ",[273,625,447],{}," as an acceptable outcome when your goal is \"make sure this share is gone\".",[628,629,630],"style",{},"html pre.shiki code .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}html pre.shiki code .suiK_, html code.shiki .suiK_{--shiki-light:#005CC5;--shiki-default:#79B8FF;--shiki-dark:#79B8FF}html pre.shiki code .sfrk1, html code.shiki .sfrk1{--shiki-light:#032F62;--shiki-default:#9ECBFF;--shiki-dark:#9ECBFF}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}",{"title":271,"searchDepth":318,"depth":339,"links":632},[633,634,635,636,637,638],{"id":305,"depth":339,"text":306},{"id":348,"depth":339,"text":349},{"id":427,"depth":339,"text":428},{"id":440,"depth":339,"text":441},{"id":461,"depth":339,"text":194},{"id":526,"depth":339,"text":527},"DELETE /v1/shares/{shortCode} — end a share early, before its expiry or view limit.","md",{},true,{"title":160,"description":639},"kVIqUF2dqpRriSSYYz3Z4A87hKeH0H5Bw3emmol-5z8",[646,648],{"title":156,"path":157,"stem":158,"description":647,"children":-1},"GET /v1/shares/{shortCode} — one share's metadata, without touching the share.",{"title":164,"path":165,"stem":166,"description":649,"children":-1},"Every constant, derivation and byte layout your client needs to produce a share the recipient can actually open.",1788908852261]