[{"data":1,"prerenderedAt":622},["ShallowReactive",2],{"navigation":3,"/api/requests/delete":258,"/api/requests/delete-surround":617},[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":186,"api":260,"body":261,"description":611,"extension":612,"links":260,"meta":613,"navigation":614,"path":187,"seo":615,"stem":188,"__hash__":616},"docs/6.api/3.requests/4.delete.md",null,{"type":262,"value":263,"toc":604},"minimark",[264,275,283,288,295,346,349,352,402,419,423,456,471,475,482,485,489,492,499,503,587,600],[265,266,272],"pre",{"className":267,"code":269,"language":270,"meta":271},[268],"language-text","DELETE /v1/requests/{shortCode}\n","text","",[273,274,269],"code",{"__ignoreMap":271},[276,277,278,279,282],"p",{},"Requires the ",[273,280,281],{},"requests:write"," scope.",[284,285,287],"h2",{"id":286},"one-method-two-outcomes","One method, two outcomes",[276,289,290,291],{},"This endpoint does something the share equivalent does not: ",[292,293,294],"strong",{},"what it does depends on the request's current state.",[296,297,298,316],"table",{},[299,300,301],"thead",{},[302,303,304,308,311],"tr",{},[305,306,307],"th",{},"Request state when you call",[305,309,310],{},"What happens",[305,312,313],{},[273,314,315],{},"outcome",[317,318,319,333],"tbody",{},[302,320,321,325,328],{},[322,323,324],"td",{},"Active",[322,326,327],{},"Soft-expired. The collect link stops working; submissions and their audit trail are kept.",[322,329,330],{},[273,331,332],{},"\"expired\"",[302,334,335,338,341],{},[322,336,337],{},"Already expired",[322,339,340],{},"Permanently removed.",[322,342,343],{},[273,344,345],{},"\"deleted\"",[276,347,348],{},"The first call closes the link without destroying the record of what came through it. The second call, on a request that is already expired, is what actually removes it.",[276,350,351],{},"The response says which happened rather than leaving you to infer it:",[265,353,357],{"className":354,"code":355,"language":356,"meta":271,"style":271},"language-json shiki shiki-themes github-light github-dark github-dark","{\n  \"short_code\": \"a1b2c3d4\",\n  \"outcome\": \"expired\"\n}\n","json",[273,358,359,368,385,396],{"__ignoreMap":271},[360,361,364],"span",{"class":362,"line":363},"line",1,[360,365,367],{"class":366},"slsVL","{\n",[360,369,371,375,378,382],{"class":362,"line":370},2,[360,372,374],{"class":373},"suiK_","  \"short_code\"",[360,376,377],{"class":366},": ",[360,379,381],{"class":380},"sfrk1","\"a1b2c3d4\"",[360,383,384],{"class":366},",\n",[360,386,388,391,393],{"class":362,"line":387},3,[360,389,390],{"class":373},"  \"outcome\"",[360,392,377],{"class":366},[360,394,395],{"class":380},"\"expired\"\n",[360,397,399],{"class":362,"line":398},4,[360,400,401],{"class":366},"}\n",[403,404,407],"callout",{"color":405,"icon":406},"warning","i-lucide-alert-triangle",[276,408,409,412,413,415,416,418],{},[292,410,411],{},"A retry is not idempotent here."," Calling this twice on an active request expires it, then permanently deletes it — including its submissions. A naive \"delete until it stops erroring\" retry loop will destroy the audit trail it was trying to leave alone. Branch on ",[273,414,315],{},", and stop after ",[273,417,332],{}," unless removal is what you actually want.",[284,420,422],{"id":421},"request","Request",[265,424,428],{"className":425,"code":426,"language":427,"meta":271,"style":271},"language-bash shiki shiki-themes github-light github-dark github-dark","curl -X DELETE https://api.credenshare.io/v1/requests/a1b2c3d4 \\\n  -H \"Authorization: Bearer crs_sk_live_\u003CkeyId>.\u003CauthSecret>\"\n","bash",[273,429,430,448],{"__ignoreMap":271},[360,431,432,436,439,442,445],{"class":362,"line":363},[360,433,435],{"class":434},"shcOC","curl",[360,437,438],{"class":373}," -X",[360,440,441],{"class":380}," DELETE",[360,443,444],{"class":380}," https://api.credenshare.io/v1/requests/a1b2c3d4",[360,446,447],{"class":373}," \\\n",[360,449,450,453],{"class":362,"line":370},[360,451,452],{"class":373},"  -H",[360,454,455],{"class":380}," \"Authorization: Bearer crs_sk_live_\u003CkeyId>.\u003CauthSecret>\"\n",[276,457,458,461,462,465,466,470],{},[273,459,460],{},"{shortCode}"," is the ",[273,463,464],{},"short_code"," from the ",[467,468,469],"a",{"href":175},"create"," response, not a database id, and not a submission's short code.",[284,472,474],{"id":473},"what-expiry-means-for-submissions-already-received","What expiry means for submissions already received",[276,476,477,478,481],{},"Expiring a request closes the collect link. Submissions already made are still there, and still readable through ",[467,479,480],{"href":183},"the submissions endpoint"," — an expired request is not the same as a deleted one.",[276,483,484],{},"Permanent deletion, on the second call, takes the submissions with it. There is no undo, and no recovery: the ciphertext was only ever openable with a key we never held, so there is nothing on our side to restore it from even in principle.",[284,486,488],{"id":487},"ownership","Ownership",[276,490,491],{},"Ownership is enforced in the handler, not in the service layer. The service permits a link-holder to delete in some configurations, which is correct for the recipient path in the app and wrong for a key acting on an account.",[276,493,494,495,498],{},"A short code on another account returns ",[273,496,497],{},"404",", indistinguishable from one that does not exist.",[284,500,502],{"id":501},"errors","Errors",[296,504,505,520],{},[299,506,507],{},[302,508,509,512,517],{},[305,510,511],{},"Status",[305,513,514],{},[273,515,516],{},"error_code",[305,518,519],{},"When",[317,521,522,537,551,561,576],{},[302,523,524,527,530],{},[322,525,526],{},"400",[322,528,529],{},"44",[322,531,532,533,536],{},"No short code in the path. ",[273,534,535],{},"DELETE /v1/requests"," is not a bulk delete.",[302,538,539,542,545],{},[322,540,541],{},"403",[322,543,544],{},"78",[322,546,547,548,550],{},"The key lacks ",[273,549,281],{},".",[302,552,553,555,558],{},[322,554,497],{},[322,556,557],{},"70",[322,559,560],{},"No such request on this account, or it has already been permanently deleted.",[302,562,563,566,569],{},[322,564,565],{},"429",[322,567,568],{},"107",[322,570,571,572,575],{},"Rate limit exceeded. ",[273,573,574],{},"Retry-After"," gives the seconds to wait.",[302,577,578,581,584],{},[322,579,580],{},"500",[322,582,583],{},"11",[322,585,586],{},"The request was found but could not be expired or deleted.",[276,588,589,590,592,593,596,597,599],{},"Once a request has been permanently deleted, further calls return ",[273,591,497],{},". If your goal is \"make sure this collect link is closed\", treat both ",[273,594,595],{},"200"," and ",[273,598,497],{}," as success — but see the warning above before retrying blindly.",[601,602,603],"style",{},"html pre.shiki code .slsVL, html code.shiki .slsVL{--shiki-light:#24292E;--shiki-default:#E1E4E8;--shiki-dark:#E1E4E8}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 .shcOC, html code.shiki .shcOC{--shiki-light:#6F42C1;--shiki-default:#B392F0;--shiki-dark:#B392F0}",{"title":271,"searchDepth":363,"depth":370,"links":605},[606,607,608,609,610],{"id":286,"depth":370,"text":287},{"id":421,"depth":370,"text":422},{"id":473,"depth":370,"text":474},{"id":487,"depth":370,"text":488},{"id":501,"depth":370,"text":502},"DELETE /v1/requests/{shortCode} — close a collect link, and on a second call remove it for good.","md",{},true,{"title":186,"description":611},"7mwpvmjiHiWSW1jbX053u_O7s2sRwbtDFYJ11O4RwJk",[618,620],{"title":182,"path":183,"stem":184,"description":619,"children":-1},"GET /v1/requests/{shortCode}/submissions — the ciphertext somebody submitted, which only you can open.",{"title":190,"path":191,"stem":192,"description":621,"children":-1},"GET /v1/stats — the account's share counts and a 14-day view history, without paging the whole share list.",1788908853026]