Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.
A shared item belongs to the organization, not to one vault. An admin shares it with chosen vaults, or opens it to all of them. Each vault sets its own permissions for it.Use these endpoints to manage shared items and to read what a vault was given. They exist on OneCLI Cloud only.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"OneCLI","colors":{"primary":"#0b5530","light":"#93e3b4","dark":"#0b5530"},"logo":{"light":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=9323ee06c8de13b4c5507ab8a6fbf2ac","dark":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-dark.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=c1445d56197cd9e03742ea6ea73a5f52","href":"/"},"favicon":"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/favicon.png?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=2a0cc29d0e8c090395c4e10e9f327b62","appearance":{"default":"light"},"background":{"color":{"light":"#ebe6d4","dark":"#083f23"}},"navbar":{"links":[{"href":"https://github.com/onecli/onecli","label":"GitHub"},{"href":"https://onecli.sh","label":"Install"}]},"footer":{"socials":{"github":"https://github.com/onecli"}},"fonts":{"heading":{"family":"Overused Grotesk","weight":600,"source":"fonts/OverusedGroteskRoman-VF.woff2","format":"woff2"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-sh-docs/images/github.svg","href":"https://github.com/onecli"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"onecli-sh-docs","hasAudioNarration":false,"actualSubdomain":"onecli-sh-docs","customDomains":[],"gitSource":{"type":"github","owner":"onecli","repo":"onecli-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6afb23636b0360be0a1911b0"},"entitlements":{},"buildId":"6b0f3c66094709554a753354","clientVersion":"0.0.4402","searchFilterCounts":[{"language":"default","tag":"API Reference","count":159},{"language":"default","tag":"Integrations","count":86},{"language":"default","tag":"Connected apps","count":77},{"language":"default","tag":"OneCLI Cloud","count":71},{"language":"default","tag":"Organization","count":32},{"language":"default","tag":"Vaults and items","count":27},{"language":"default","tag":"Agents","count":23},{"language":"default","tag":"Approvals, rules and activity","count":14},{"language":"default","tag":"Items","count":14},{"language":"default","tag":"Groups","count":13}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","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":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","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":"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":"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":"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":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","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":"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":"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},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"a.nav-anchor div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;transition:opacity 0.15s ease!important}a.nav-anchor:hover div.mr-4.rounded-md{--tw-ring-color: transparent !important;--tw-ring-shadow: 0 0 0 0 transparent !important;--tw-ring-offset-shadow: 0 0 0 0 transparent !important;box-shadow:none!important;background:transparent!important;filter:none!important;opacity:0.7!important}a.nav-anchor div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}a.nav-anchor:hover div.mr-4.rounded-md img{opacity:1!important;filter:none!important;background:transparent!important}.dark a.nav-anchor div.mr-4.rounded-md img,[data-theme=\"dark\"] a.nav-anchor div.mr-4.rounded-md img{filter:invert(1)!important}html:not(.dark) .card,html:not(.dark) .code-block [data-component-part=\"code-block-root\"],html:not(.dark) .callout{background-color:#f3efe1!important}html:not(.dark) .card,html:not(.dark) .code-block{border-color:#cbc3a8!important}[data-component-part=\"step-indicator\"]{border-radius:4px!important;width:1.5rem!important;height:1.5rem!important;margin:0.125rem!important;font-weight:600!important}html:not(.dark) [data-component-part=\"step-indicator\"]{background-color:#f3efe1!important;border:1px solid #cbc3a8!important;color:#0b5530!important}.dark [data-component-part=\"step-indicator\"]{border:1px solid rgba(255, 255, 255, 0.16)!important}[data-component-part=\"step-indicator\"]>div{background-color:transparent!important;color:inherit!important}html:not(.dark) .code-block .code-block-fade-overlay{background-image:linear-gradient(\n to right,\n rgba(243, 239, 225, 0) 0,\n rgba(243, 239, 225, 0.5) 25px,\n #f3efe1 45px\n )!important}#theme-preference-menu-item-system,[data-theme-preference=\"system\"]{display:none!important}"}]}
{"page":{"pagePath":"api-reference/shared-items","slug":"/api-reference/shared-items","pageMetadata":{"title":"Shared Items API: One Key Shared With Many Vaults","sidebarTitle":"Overview","description":"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.","canonical":"https://onecli.sh/docs/api-reference/shared-items","href":"/api-reference/shared-items"},"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: \"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.\"\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`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A shared item belongs to the organization, not to one vault. An admin shares it with chosen vaults, or opens it to all of them. Each vault sets its own permissions for it.`}),`\n`,_jsx(_components.p,{children:`Use these endpoints to manage shared items and to read what a vault was given. They exist on OneCLI Cloud only.`}),`\n`,_jsx(Heading,{level:`2`,id:`related-guides`,children:`Related guides`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/api-reference/editions`,children:`Editions: what OneCLI Cloud adds`})}),`\n`,_jsx(_components.li,{children:_jsx(_components.a,{href:`/how-it-works`,children:`How it works: vaults, the gateway and approvals`})}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`endpoints`,children:`Endpoints`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Endpoint`}),_jsx(_components.th,{children:`Method and path`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/list-the-shared-items`,children:`List the shared items`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v2/org/shared-items`})}),_jsx(_components.td,{children:`This organization’s shared items, newest first, each with the vaults it is shared with.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/add-a-shared-key`,children:`Add a shared key`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`POST /v2/org/shared-items`})}),_jsx(_components.td,{children:`Adds an API key or an LLM key to this organization’s shared items.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/read-a-shared-item`,children:`Read a shared item`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v2/org/shared-items/{id}`})}),_jsx(_components.td,{children:`One of this organization’s shared items.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/rename-a-shared-item-give-a-shared-key-a-new-value-or-open-it-to-all-vaults`,children:`Rename a shared item, give a shared key a new value, or open it to all vaults`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PATCH /v2/org/shared-items/{id}`})}),_jsx(_components.td,{children:`Renames a shared item, gives a shared key a new value, or opens it to all vaults.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/delete-a-shared-item`,children:`Delete a shared item`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`DELETE /v2/org/shared-items/{id}`})}),_jsx(_components.td,{children:`Deletes the item.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/list-the-vaults-an-item-is-shared-with`,children:`List the vaults an item is shared with`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v2/org/shared-items/{id}/vaults`})}),_jsx(_components.td,{children:`The vaults picked one by one for this item, most recently shared first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/share-an-item-with-a-vault`,children:`Share an item with a vault`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PUT /v2/org/shared-items/{id}/vaults/{vaultId}`})}),_jsx(_components.td,{children:`The vault’s agents may use the item, starting at the permissions a new item of its kind gets in that vault.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/take-an-item-away-from-a-vault`,children:`Take an item away from a vault`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`DELETE /v2/org/shared-items/{id}/vaults/{vaultId}`})}),_jsx(_components.td,{children:`The vault loses the item, with the permissions set there.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/list-the-shared-items-a-vault-may-use`,children:`List the shared items a vault may use`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v2/vaults/{id}/shared-items`})}),_jsx(_components.td,{children:`The organization’s shared items that were shared with this vault, newest first.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/read-what-a-vaults-agents-may-do-with-a-shared-item`,children:`Read what a vault’s agents may do with a shared item`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`GET /v2/vaults/{id}/shared-items/{itemId}/permissions`})}),_jsx(_components.td,{children:`This vault’s permissions for an item shared with it.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.a,{href:`/api-reference/shared-items/set-what-a-vaults-agents-may-do-with-a-shared-item`,children:`Set what a vault’s agents may do with a shared item`})}),_jsx(_components.td,{children:_jsx(_components.code,{children:`PUT /v2/vaults/{id}/shared-items/{itemId}/permissions`})}),_jsx(_components.td,{children:`Replaces this vault’s permissions for an item shared with it: the item’s own level, and a level for any tool that differs.`})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`next-steps`,children:`Next steps`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference`,children:`API overview`}),`: base URLs, authentication, and pagination`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/errors`,children:`Errors`}),`: status codes and the error format`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.a,{href:`/api-reference/editions`,children:`Editions`}),`: which endpoints each edition serves`]}),`\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":{"config":{},"pageMetadata":{"title":"Shared Items API: One Key Shared With Many Vaults","sidebarTitle":"Overview","description":"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.","canonical":"https://onecli.sh/docs/api-reference/shared-items","href":"/api-reference/shared-items"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Related guides","slug":"related-guides","depth":2,"children":[]},{"title":"Endpoints","slug":"endpoints","depth":2,"children":[]},{"title":"Next steps","slug":"next-steps","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/onecli-sh-docs/e8c5fc0faf4d8de9/infra/cloudfront/docs-response-headers.js"],"subdomain":"onecli-sh-docs","siteName":"OneCLI","title":"Shared Items API: One Key Shared With Many Vaults - OneCLI","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T21:30:27.342Z","originalFileLocation":"api-reference/shared-items.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=\"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.\">\u003cmeta data-mint-head name=\"application-name\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Shared Items API: One Key Shared With Many Vaults - OneCLI\">\u003cmeta data-mint-head property=\"og:description\" content=\"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"OneCLI\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://onecli.sh/docs/api-reference/shared-items\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://onecli-sh-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Shared+Items+API%3A+One+Key+Shared+With+Many+Vaults\u0026amp;description=Keep+a+key+once+for+the+organization+and+share+it+with+chosen+vaults+or+all+of+them.+Each+vault+sets+its+own+permissions.+Cloud+only.\u0026amp;theme=c07fb6f5c2da82bc69807d12\u0026amp;signature=6cc295dc35d47b7fa18f8b2e38af4443df119c41d0334aa29c18c62f5fdbb5db\">\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=\"Shared Items API: One Key Shared With Many Vaults - OneCLI\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://onecli-sh-docs.mintlify.site/docs/_mintlify/api/og/v2?division=Documentation\u0026amp;title=Shared+Items+API%3A+One+Key+Shared+With+Many+Vaults\u0026amp;description=Keep+a+key+once+for+the+organization+and+share+it+with+chosen+vaults+or+all+of+them.+Each+vault+sets+its+own+permissions.+Cloud+only.\u0026amp;theme=c07fb6f5c2da82bc69807d12\u0026amp;signature=6cc295dc35d47b7fa18f8b2e38af4443df119c41d0334aa29c18c62f5fdbb5db\">\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=\"/docs/mintlify-assets/_mintlify/favicons/onecli-sh-docs/kVhcqu1MSXl6LB8G/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"OneCLI\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0b5530\">\u003clink data-mint-head rel=\"canonical\" href=\"https://onecli.sh/docs/api-reference/shared-items\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/shared-items.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://onecli-sh-docs.mintlify.dev/#organization\",\"name\":\"OneCLI\",\"url\":\"https://onecli-sh-docs.mintlify.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/onecli-sh-docs/RTC5pGoFGh943jJc/logo/logo-full-light.svg?fit=max\u0026auto=format\u0026n=RTC5pGoFGh943jJc\u0026q=85\u0026s=9323ee06c8de13b4c5507ab8a6fbf2ac\"}},{\"@type\":\"WebSite\",\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs#website\",\"name\":\"OneCLI\",\"url\":\"https://onecli-sh-docs.mintlify.dev/docs\",\"publisher\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://onecli.sh/docs/api-reference/shared-items#webpage\",\"url\":\"https://onecli.sh/docs/api-reference/shared-items\",\"name\":\"Shared Items API: One Key Shared With Many Vaults\",\"description\":\"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.\",\"dateModified\":\"2026-12-01T21:30:27.342Z\",\"isPartOf\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs#website\"},\"breadcrumb\":{\"@id\":\"https://onecli.sh/docs/api-reference/shared-items#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://onecli.sh/docs/api-reference/shared-items#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"OneCLI Cloud\",\"item\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/members/list-members\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shared items\",\"item\":\"https://onecli-sh-docs.mintlify.dev/docs/api-reference/shared-items\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Shared Items API: One Key Shared With Many Vaults\",\"item\":\"https://onecli.sh/docs/api-reference/shared-items\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://onecli.sh/docs/api-reference/shared-items#article\",\"headline\":\"Shared Items API: One Key Shared With Many Vaults\",\"name\":\"Shared Items API: One Key Shared With Many Vaults\",\"description\":\"Keep a key once for the organization and share it with chosen vaults or all of them. Each vault sets its own permissions. Cloud only.\",\"url\":\"https://onecli.sh/docs/api-reference/shared-items\",\"mainEntityOfPage\":{\"@id\":\"https://onecli.sh/docs/api-reference/shared-items#webpage\"},\"dateModified\":\"2026-12-01T21:30:27.342Z\",\"publisher\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://onecli-sh-docs.mintlify.dev/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"OneCLI\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"OneCLI\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/shared-items.md","siteName":"OneCLI","nav":{"global":{"anchors":[{"anchor":"GitHub","icon":"https://mintlify.s3.us-west-1.amazonaws.com/onecli-sh-docs/images/github.svg","href":"https://github.com/onecli"}]},"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":""}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations"}]},{"tab":"Guides","pages":[{"title":"Guides","href":"/guides"}]},{"tab":"API Reference","groups":[{"group":"Overview","root":{"title":"API Reference: Authentication, Paging and Errors","sidebarTitle":"Overview","href":"/api-reference"},"pages":[{"title":"Editions: Cloud and Self-hosted Endpoints","sidebarTitle":"Editions","href":"/api-reference/editions"},{"title":"API Errors: Codes, Statuses and the Error Format","sidebarTitle":"Errors","href":"/api-reference/errors"},{"title":"Gateway Errors: When a Call Is Refused or Held","sidebarTitle":"Gateway errors","href":"/api-reference/gateway-errors"},{"title":"Multiple Accounts: Choosing Which Item Serves a Call","sidebarTitle":"Multiple accounts","href":"/api-reference/multi-account"},{"title":"Environment variables","sidebarTitle":"Environment variables","href":"/reference/environment-variables"},{"title":"Telemetry: what OneCLI collects and where","sidebarTitle":"Telemetry","href":"/reference/telemetry"}]},{"group":"Vaults and items","pages":[{"group":"Vaults","root":{"title":"Vaults API: List, Create, Rename and Delete Vaults","sidebarTitle":"Overview","href":"/api-reference/vaults"},"pages":[{"title":"List vaults","deprecated":null,"version":null,"sidebarTitle":"List vaults","openapi":"/openapi.yaml get /v2/vaults","href":"/api-reference/vaults/list-vaults"},{"title":"Make a vault","deprecated":null,"version":null,"sidebarTitle":"Make a vault","openapi":"/openapi.yaml post /v2/vaults","href":"/api-reference/vaults/make-a-vault"},{"title":"Read a vault","deprecated":null,"version":null,"sidebarTitle":"Read a vault","openapi":"/openapi.yaml get /v2/vaults/{id}","href":"/api-reference/vaults/read-a-vault"},{"title":"Rename a vault","deprecated":null,"version":null,"sidebarTitle":"Rename a vault","openapi":"/openapi.yaml patch /v2/vaults/{id}","href":"/api-reference/vaults/rename-a-vault"},{"title":"Delete a vault","deprecated":null,"version":null,"sidebarTitle":"Delete a vault","openapi":"/openapi.yaml delete /v2/vaults/{id}","href":"/api-reference/vaults/delete-a-vault"},{"title":"List a vault's sources","deprecated":null,"version":null,"sidebarTitle":"List a vault's sources","openapi":"/openapi.yaml get /v2/vaults/{id}/sources","href":"/api-reference/vaults/list-a-vaults-sources"}]},{"group":"Items","root":{"title":"Items API: Add, Rotate, Move and Delete Keys","sidebarTitle":"Overview","href":"/api-reference/items"},"pages":[{"title":"List a vault's items","deprecated":null,"version":null,"sidebarTitle":"List a vault's items","openapi":"/openapi.yaml get /v2/vaults/{id}/items","href":"/api-reference/items/list-a-vaults-items"},{"title":"Add a key to a vault","deprecated":null,"version":null,"sidebarTitle":"Add a key to a vault","openapi":"/openapi.yaml post /v2/vaults/{id}/items","href":"/api-reference/items/add-a-key-to-a-vault"},{"title":"Read an item","deprecated":null,"version":null,"sidebarTitle":"Read an item","openapi":"/openapi.yaml get /v2/items/{id}","href":"/api-reference/items/read-an-item"},{"title":"Rename, move, turn off, or set plain http for an item","deprecated":null,"version":null,"sidebarTitle":"Rename, move, turn off, or set plain http for an item","openapi":"/openapi.yaml patch /v2/items/{id}","href":"/api-reference/items/rename-move-turn-off-or-set-plain-http-for-an-item"},{"title":"Delete an item","deprecated":null,"version":null,"sidebarTitle":"Delete an item","openapi":"/openapi.yaml delete /v2/items/{id}","href":"/api-reference/items/delete-an-item"},{"title":"Replace a key's value","deprecated":null,"version":null,"sidebarTitle":"Replace a key's value","openapi":"/openapi.yaml put /v2/items/{id}/value","href":"/api-reference/items/replace-a-keys-value"},{"title":"List a key's versions","deprecated":null,"version":null,"sidebarTitle":"List a key's versions","openapi":"/openapi.yaml get /v2/items/{id}/versions","href":"/api-reference/items/list-a-keys-versions"},{"title":"Put an earlier version back","deprecated":null,"version":null,"sidebarTitle":"Put an earlier version back","openapi":"/openapi.yaml post /v2/items/{id}/versions/{version}/restore","href":"/api-reference/items/put-an-earlier-version-back"},{"title":"Restore a deleted item","deprecated":null,"version":null,"sidebarTitle":"Restore a deleted item","openapi":"/openapi.yaml post /v2/items/{id}/restore","href":"/api-reference/items/restore-a-deleted-item"}]},{"group":"Permissions","root":{"title":"Permissions API: Set What Agents May Do With an Item","sidebarTitle":"Overview","href":"/api-reference/permissions"},"pages":[{"title":"Read what agents may do with an item","deprecated":null,"version":null,"sidebarTitle":"Read what agents may do with an item","openapi":"/openapi.yaml get /v2/items/{id}/permissions","href":"/api-reference/permissions/read-what-agents-may-do-with-an-item"},{"title":"Set what agents may do with an item","deprecated":null,"version":null,"sidebarTitle":"Set what agents may do with an item","openapi":"/openapi.yaml put /v2/items/{id}/permissions","href":"/api-reference/permissions/set-what-agents-may-do-with-an-item"}]},{"group":"Connect tokens","root":{"title":"Connect Tokens API: Tokens That Connect Agents","sidebarTitle":"Overview","href":"/api-reference/connect-tokens"},"pages":[{"title":"Read a vault's connect token","deprecated":null,"version":null,"sidebarTitle":"Read a vault's connect token","openapi":"/openapi.yaml get /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/read-a-vaults-connect-token"},{"title":"Make a vault's connect token","deprecated":null,"version":null,"sidebarTitle":"Make a vault's connect token","openapi":"/openapi.yaml post /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/make-a-vaults-connect-token"},{"title":"Turn a vault's connect token off","deprecated":null,"version":null,"sidebarTitle":"Turn a vault's connect token off","openapi":"/openapi.yaml delete /v2/vaults/{id}/connect-token","href":"/api-reference/connect-tokens/turn-a-vaults-connect-token-off"},{"title":"List a vault's one-use connect tokens","deprecated":null,"version":null,"sidebarTitle":"List a vault's one-use connect tokens","openapi":"/openapi.yaml get /v2/vaults/{id}/connect-tokens","href":"/api-reference/connect-tokens/list-a-vaults-one-use-connect-tokens"},{"title":"Make a one-use connect token","deprecated":null,"version":null,"sidebarTitle":"Make a one-use connect token","openapi":"/openapi.yaml post /v2/vaults/{id}/connect-tokens","href":"/api-reference/connect-tokens/make-a-one-use-connect-token"},{"title":"Turn a one-use connect token off","deprecated":null,"version":null,"sidebarTitle":"Turn a one-use connect token off","openapi":"/openapi.yaml delete /v2/vaults/{id}/connect-tokens/{tokenId}","href":"/api-reference/connect-tokens/turn-a-one-use-connect-token-off"}]}]},{"group":"Agents","pages":[{"group":"Agents","root":{"title":"Agents API: Connect, List, Rename and Disconnect","sidebarTitle":"Overview","href":"/api-reference/agents"},"pages":[{"title":"List agents","deprecated":null,"version":null,"sidebarTitle":"List agents","openapi":"/openapi.yaml get /v2/agents","href":"/api-reference/agents/list-agents"},{"title":"Connect an agent","deprecated":null,"version":null,"sidebarTitle":"Connect an agent","openapi":"/openapi.yaml post /v2/agents","href":"/api-reference/agents/connect-an-agent"},{"title":"Read an agent","deprecated":null,"version":null,"sidebarTitle":"Read an agent","openapi":"/openapi.yaml get /v2/agents/{id}","href":"/api-reference/agents/read-an-agent"},{"title":"Rename an agent","deprecated":null,"version":null,"sidebarTitle":"Rename an agent","openapi":"/openapi.yaml patch /v2/agents/{id}","href":"/api-reference/agents/rename-an-agent"},{"title":"Disconnect an agent","deprecated":null,"version":null,"sidebarTitle":"Disconnect an agent","openapi":"/openapi.yaml delete /v2/agents/{id}","href":"/api-reference/agents/disconnect-an-agent"}]},{"group":"Agent sign-ups","root":{"title":"Agent Sign-ups API: Let an Agent Ask to Connect","sidebarTitle":"Overview","href":"/api-reference/agent-sign-ups"},"pages":[{"title":"Start an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Start an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups","href":"/api-reference/agent-sign-ups/start-an-agent-sign-up"},{"title":"Look up an agent sign-up by its code","deprecated":null,"version":null,"sidebarTitle":"Look up an agent sign-up by its code","openapi":"/openapi.yaml post /v2/agent-signups/verify","href":"/api-reference/agent-sign-ups/look-up-an-agent-sign-up-by-its-code"},{"title":"Approve an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Approve an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/approve","href":"/api-reference/agent-sign-ups/approve-an-agent-sign-up"},{"title":"Deny an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Deny an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/deny","href":"/api-reference/agent-sign-ups/deny-an-agent-sign-up"},{"title":"Poll an agent sign-up","deprecated":null,"version":null,"sidebarTitle":"Poll an agent sign-up","openapi":"/openapi.yaml post /v2/agent-signups/{id}/token","href":"/api-reference/agent-sign-ups/poll-an-agent-sign-up"}]},{"group":"Agent self-service","root":{"title":"Agent Self-service API: What an Agent Can Read","sidebarTitle":"Overview","href":"/api-reference/agent-self-service"},"pages":[{"title":"The OneCLI skill for agents","deprecated":null,"version":null,"sidebarTitle":"The OneCLI skill for agents","openapi":"/openapi.yaml get /v2/skill","href":"/api-reference/agent-self-service/the-onecli-skill-for-agents"},{"title":"Read who you are, as an agent","deprecated":null,"version":null,"sidebarTitle":"Read who you are, as an agent","openapi":"/openapi.yaml get /v2/agents/me","href":"/api-reference/agent-self-service/read-who-you-are-as-an-agent"},{"title":"Ask what would happen to a call, as an agent","deprecated":null,"version":null,"sidebarTitle":"Ask what would happen to a call, as an agent","openapi":"/openapi.yaml post /v2/agents/me/check","href":"/api-reference/agent-self-service/ask-what-would-happen-to-a-call-as-an-agent"},{"title":"List what you can use, as an agent","deprecated":null,"version":null,"sidebarTitle":"List what you can use, as an agent","openapi":"/openapi.yaml get /v2/agents/me/items","href":"/api-reference/agent-self-service/list-what-you-can-use-as-an-agent"}]}]},{"group":"Approvals, rules and activity","pages":[{"group":"Approvals","root":{"title":"Approvals API: List and Answer Held Requests","sidebarTitle":"Overview","href":"/api-reference/approvals"},"pages":[{"title":"List waiting requests","deprecated":null,"version":null,"sidebarTitle":"List waiting requests","openapi":"/openapi.yaml get /v2/approvals","href":"/api-reference/approvals/list-waiting-requests"},{"title":"Answer a waiting request","deprecated":null,"version":null,"sidebarTitle":"Answer a waiting request","openapi":"/openapi.yaml patch /v2/approvals/{id}","href":"/api-reference/approvals/answer-a-waiting-request"}]},{"group":"Rules","root":{"title":"Rules API: Organization-Wide Block and Approval Rules","sidebarTitle":"Overview","href":"/api-reference/rules"},"pages":[{"title":"List the organization's rules","deprecated":null,"version":null,"sidebarTitle":"List the organization's rules","openapi":"/openapi.yaml get /v2/org/rules","href":"/api-reference/rules/list-the-organizations-rules"},{"title":"Make an organization rule","deprecated":null,"version":null,"sidebarTitle":"Make an organization rule","openapi":"/openapi.yaml post /v2/org/rules","href":"/api-reference/rules/make-an-organization-rule"},{"title":"Read an organization rule","deprecated":null,"version":null,"sidebarTitle":"Read an organization rule","openapi":"/openapi.yaml get /v2/org/rules/{id}","href":"/api-reference/rules/read-an-organization-rule"},{"title":"Change an organization rule","deprecated":null,"version":null,"sidebarTitle":"Change an organization rule","openapi":"/openapi.yaml patch /v2/org/rules/{id}","href":"/api-reference/rules/change-an-organization-rule"},{"title":"Remove an organization rule","deprecated":null,"version":null,"sidebarTitle":"Remove an organization rule","openapi":"/openapi.yaml delete /v2/org/rules/{id}","href":"/api-reference/rules/remove-an-organization-rule"}]},{"group":"Activity","root":{"title":"Activity API: Request Log, Usage Counts and Audit Log","sidebarTitle":"Overview","href":"/api-reference/activity"},"pages":[{"title":"List activity","deprecated":null,"version":null,"sidebarTitle":"List activity","openapi":"/openapi.yaml get /v2/activity","href":"/api-reference/activity/list-activity"},{"title":"Read usage","deprecated":null,"version":null,"sidebarTitle":"Read usage","openapi":"/openapi.yaml get /v2/usage","href":"/api-reference/activity/read-usage"},{"title":"Read counts","deprecated":null,"version":null,"sidebarTitle":"Read counts","openapi":"/openapi.yaml get /v2/counts","href":"/api-reference/activity/read-counts"},{"title":"Read the audit log","deprecated":null,"version":null,"sidebarTitle":"Read the audit log","openapi":"/openapi.yaml get /v2/audit","href":"/api-reference/activity/read-the-audit-log"}]}]},{"group":"Organization","pages":[{"group":"Apps","root":{"title":"Apps API: Connectable Apps and Your Own OAuth Apps","sidebarTitle":"Overview","href":"/api-reference/apps"},"pages":[{"title":"List the apps that can be connected","deprecated":null,"version":null,"sidebarTitle":"List the apps that can be connected","openapi":"/openapi.yaml get /v2/apps","href":"/api-reference/apps/list-the-apps-that-can-be-connected"},{"title":"List the apps that take the organization's own OAuth app","deprecated":null,"version":null,"sidebarTitle":"List the apps that take an OAuth app of the organization's own","openapi":"/openapi.yaml get /v2/org/apps","href":"/api-reference/apps/list-the-apps-that-take-an-oauth-app-of-the-organizations-own"},{"title":"Read the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Read the organization's own app","openapi":"/openapi.yaml get /v2/org/apps/{provider}","href":"/api-reference/apps/read-the-organizations-own-app"},{"title":"Save the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Save the organization's own app","openapi":"/openapi.yaml put /v2/org/apps/{provider}","href":"/api-reference/apps/save-the-organizations-own-app"},{"title":"Remove the organization's own app","deprecated":null,"version":null,"sidebarTitle":"Remove the organization's own app","openapi":"/openapi.yaml delete /v2/org/apps/{provider}","href":"/api-reference/apps/remove-the-organizations-own-app"}]},{"group":"API keys","root":{"title":"API Keys API: Make, List and Revoke Managing Keys","sidebarTitle":"Overview","href":"/api-reference/api-keys"},"pages":[{"title":"List your keys","deprecated":null,"version":null,"sidebarTitle":"List your keys","openapi":"/openapi.yaml get /v2/keys","href":"/api-reference/api-keys/list-your-keys"},{"title":"Make a key","deprecated":null,"version":null,"sidebarTitle":"Make a key","openapi":"/openapi.yaml post /v2/keys","href":"/api-reference/api-keys/make-a-key"},{"title":"Read one of your keys","deprecated":null,"version":null,"sidebarTitle":"Read one of your keys","openapi":"/openapi.yaml get /v2/keys/{id}","href":"/api-reference/api-keys/read-one-of-your-keys"},{"title":"Revoke one of your keys","deprecated":null,"version":null,"sidebarTitle":"Revoke one of your keys","openapi":"/openapi.yaml delete /v2/keys/{id}","href":"/api-reference/api-keys/revoke-one-of-your-keys"},{"title":"Confirm it's you","deprecated":null,"version":null,"sidebarTitle":"Confirm it's you","openapi":"/openapi.yaml post /v2/session/confirmation","href":"/api-reference/api-keys/confirm-its-you"}]},{"group":"Organization","root":{"title":"Organization API: Your Account, Organizations and Logo","sidebarTitle":"Overview","href":"/api-reference/organization"},"pages":[{"title":"Read who you are","deprecated":null,"version":null,"sidebarTitle":"Read who you are","openapi":"/openapi.yaml get /v2/me","href":"/api-reference/organization/read-who-you-are"},{"title":"Change your name","deprecated":null,"version":null,"sidebarTitle":"Change your name","openapi":"/openapi.yaml patch /v2/me","href":"/api-reference/organization/change-your-name"},{"title":"Make an organization","deprecated":null,"version":null,"sidebarTitle":"Make an organization","openapi":"/openapi.yaml post /v2/organizations","href":"/api-reference/organization/make-an-organization"},{"title":"Rename the organization","deprecated":null,"version":null,"sidebarTitle":"Rename the organization","openapi":"/openapi.yaml patch /v2/org","href":"/api-reference/organization/rename-the-organization"},{"title":"Delete the organization","deprecated":null,"version":null,"sidebarTitle":"Delete the organization","openapi":"/openapi.yaml delete /v2/org","href":"/api-reference/organization/delete-the-organization"},{"title":"Set the organization's logo","deprecated":null,"version":null,"sidebarTitle":"Set the organization's logo","openapi":"/openapi.yaml put /v2/org/logo","href":"/api-reference/organization/set-the-organizations-logo"},{"title":"Remove the organization's logo","deprecated":null,"version":null,"sidebarTitle":"Remove the organization's logo","openapi":"/openapi.yaml delete /v2/org/logo","href":"/api-reference/organization/remove-the-organizations-logo"},{"title":"Read an organization's logo","deprecated":null,"version":null,"sidebarTitle":"Read an organization's logo","openapi":"/openapi.yaml get /v2/organization-logos/{organizationId}/{key}","href":"/api-reference/organization/read-an-organizations-logo"}]},{"group":"Utility","root":{"title":"Utility API: Health Check","sidebarTitle":"Overview","href":"/api-reference/utility"},"pages":[{"title":"Health check","deprecated":null,"version":null,"sidebarTitle":"Health check","openapi":"/openapi.yaml get /v2/health","href":"/api-reference/utility/health-check"}]}]},{"group":"OneCLI Cloud","pages":[{"group":"Members","root":{"title":"Members API: List, Change and Remove Members","sidebarTitle":"Overview","href":"/api-reference/members"},"pages":[{"title":"List members","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List members","openapi":"/openapi.yaml get /v2/members","href":"/api-reference/members/list-members"},{"title":"Read a member","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a member","openapi":"/openapi.yaml get /v2/members/{id}","href":"/api-reference/members/read-a-member"},{"title":"Change a member","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change a member","openapi":"/openapi.yaml patch /v2/members/{id}","href":"/api-reference/members/change-a-member"},{"title":"Remove a member, or leave","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Remove a member, or leave","openapi":"/openapi.yaml delete /v2/members/{id}","href":"/api-reference/members/remove-a-member-or-leave"},{"title":"Preview a member's removal","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Preview a member's removal","openapi":"/openapi.yaml get /v2/members/{id}/removal-preview","href":"/api-reference/members/preview-a-members-removal"},{"title":"Transfer ownership","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Transfer ownership","openapi":"/openapi.yaml post /v2/members/{id}/transfer-ownership","href":"/api-reference/members/transfer-ownership"},{"title":"List people","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List people","openapi":"/openapi.yaml get /v2/people","href":"/api-reference/members/list-people"}]},{"group":"Invites","root":{"title":"Invites API: Invite People to an Organization","sidebarTitle":"Overview","href":"/api-reference/invites"},"pages":[{"title":"List invites","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List invites","openapi":"/openapi.yaml get /v2/invites","href":"/api-reference/invites/list-invites"},{"title":"Invite a person","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Invite a person","openapi":"/openapi.yaml post /v2/invites","href":"/api-reference/invites/invite-a-person"},{"title":"Take up an invite","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Take up an invite","openapi":"/openapi.yaml post /v2/invites/accept","href":"/api-reference/invites/take-up-an-invite"},{"title":"Cancel an invite","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Cancel an invite","openapi":"/openapi.yaml delete /v2/invites/{id}","href":"/api-reference/invites/cancel-an-invite"}]},{"group":"Groups","root":{"title":"Groups API: Manage Groups, Members and Group Roles","sidebarTitle":"Overview","href":"/api-reference/groups"},"pages":[{"title":"List groups","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List groups","openapi":"/openapi.yaml get /v2/groups","href":"/api-reference/groups/list-groups"},{"title":"Create a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Create a group","openapi":"/openapi.yaml post /v2/groups","href":"/api-reference/groups/create-a-group"},{"title":"Read a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a group","openapi":"/openapi.yaml get /v2/groups/{id}","href":"/api-reference/groups/read-a-group"},{"title":"Rename a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Rename a group","openapi":"/openapi.yaml patch /v2/groups/{id}","href":"/api-reference/groups/rename-a-group"},{"title":"Delete a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a group","openapi":"/openapi.yaml delete /v2/groups/{id}","href":"/api-reference/groups/delete-a-group"},{"title":"List a group's members","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List a group's members","openapi":"/openapi.yaml get /v2/groups/{id}/members","href":"/api-reference/groups/list-a-groups-members"},{"title":"Add a member to a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Add a member to a group","openapi":"/openapi.yaml put /v2/groups/{id}/members/{userId}","href":"/api-reference/groups/add-a-member-to-a-group"},{"title":"Remove a member from a group","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Remove a member from a group","openapi":"/openapi.yaml delete /v2/groups/{id}/members/{userId}","href":"/api-reference/groups/remove-a-member-from-a-group"},{"title":"Read a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a group's role","openapi":"/openapi.yaml get /v2/groups/{id}/roles","href":"/api-reference/groups/read-a-groups-role"},{"title":"Set a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Set a group's role","openapi":"/openapi.yaml put /v2/groups/{id}/roles","href":"/api-reference/groups/set-a-groups-role"},{"title":"Clear a group's role","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Clear a group's role","openapi":"/openapi.yaml delete /v2/groups/{id}/roles","href":"/api-reference/groups/clear-a-groups-role"},{"title":"List a group's vaults","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List a group's vaults","openapi":"/openapi.yaml get /v2/groups/{id}/vaults","href":"/api-reference/groups/list-a-groups-vaults"}]},{"group":"Vault sharing","root":{"title":"Vault Sharing API: Share a Vault With People and Groups","sidebarTitle":"Overview","href":"/api-reference/vault-sharing"},"pages":[{"title":"Read who a vault is shared with","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read who a vault is shared with","openapi":"/openapi.yaml get /v2/vaults/{id}/access","href":"/api-reference/vault-sharing/read-who-a-vault-is-shared-with"},{"title":"Replace who a vault is shared with","description":"Replaces the whole list of people and groups a vault is shared with. Each must belong to this organization. A personal vault cannot be shared.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Replace who a vault is shared with","openapi":"/openapi.yaml put /v2/vaults/{id}/access","href":"/api-reference/vault-sharing/replace-who-a-vault-is-shared-with"}]},{"group":"Shared items","root":{"title":"Shared Items API: One Key Shared With Many Vaults","sidebarTitle":"Overview","href":"/api-reference/shared-items"},"pages":[{"title":"List the shared items","description":"This organization's shared items, newest first, each with the vaults it is shared with. For an admin or the owner, signed in and not using a key.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the shared items","openapi":"/openapi.yaml get /v2/org/shared-items","href":"/api-reference/shared-items/list-the-shared-items"},{"title":"Add a shared key","description":"Adds an API key or an LLM key to this organization's shared items. It is shared with no vault, so no agent can use it yet. The answer never carries the value.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Add a shared key","openapi":"/openapi.yaml post /v2/org/shared-items","href":"/api-reference/shared-items/add-a-shared-key"},{"title":"Read a shared item","description":"One of this organization's shared items. For an admin or the owner, signed in and not using a key.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a shared item","openapi":"/openapi.yaml get /v2/org/shared-items/{id}","href":"/api-reference/shared-items/read-a-shared-item"},{"title":"Rename a shared item, replace its value, or open it","description":"Renames a shared item, gives a shared key a new value, or opens it to all vaults. One change per call. A new value reaches every vault it is shared with.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Rename a shared item, give a shared key a new value, or open it to all vaults","openapi":"/openapi.yaml patch /v2/org/shared-items/{id}","href":"/api-reference/shared-items/rename-a-shared-item-give-a-shared-key-a-new-value-or-open-it-to-all-vaults"},{"title":"Delete a shared item","description":"Deletes the item. Every vault it was shared with loses it, with the permissions set there. For an admin or the owner, signed in and not using a key.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a shared item","openapi":"/openapi.yaml delete /v2/org/shared-items/{id}","href":"/api-reference/shared-items/delete-a-shared-item"},{"title":"List the vaults an item is shared with","description":"The vaults picked one by one for this item, most recently shared first. Whether every vault may use it is on the item (sharedWith.allVaults), not in this list.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the vaults an item is shared with","openapi":"/openapi.yaml get /v2/org/shared-items/{id}/vaults","href":"/api-reference/shared-items/list-the-vaults-an-item-is-shared-with"},{"title":"Share an item with a vault","description":"The vault's agents may use the item, starting at the permissions a new item of its kind gets in that vault. Sent again it changes nothing.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Share an item with a vault","openapi":"/openapi.yaml put /v2/org/shared-items/{id}/vaults/{vaultId}","href":"/api-reference/shared-items/share-an-item-with-a-vault"},{"title":"Take an item away from a vault","description":"The vault loses the item, with the permissions set there. While the item is open to all vaults the vault keeps it.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Take an item away from a vault","openapi":"/openapi.yaml delete /v2/org/shared-items/{id}/vaults/{vaultId}","href":"/api-reference/shared-items/take-an-item-away-from-a-vault"},{"title":"List the shared items a vault may use","description":"The organization's shared items that were shared with this vault, newest first. Never a value, and never which other vaults have an item.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List the shared items a vault may use","openapi":"/openapi.yaml get /v2/vaults/{id}/shared-items","href":"/api-reference/shared-items/list-the-shared-items-a-vault-may-use"},{"title":"Read what a vault's agents may do with a shared item","description":"This vault's permissions for an item shared with it. Another vault's permissions for the same item are its own.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read what a vault's agents may do with a shared item","openapi":"/openapi.yaml get /v2/vaults/{id}/shared-items/{itemId}/permissions","href":"/api-reference/shared-items/read-what-a-vaults-agents-may-do-with-a-shared-item"},{"title":"Set what a vault's agents may do with a shared item","description":"Replaces this vault's permissions for an item shared with it: the item's own level, and a level for any tool that differs.","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Set what a vault's agents may do with a shared item","openapi":"/openapi.yaml put /v2/vaults/{id}/shared-items/{itemId}/permissions","href":"/api-reference/shared-items/set-what-a-vaults-agents-may-do-with-a-shared-item"}]},{"group":"Sign-in","root":{"title":"Sign-in API: Single Sign-On Connections and Domains","sidebarTitle":"Overview","href":"/api-reference/sign-in"},"pages":[{"title":"List sign-in connections","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List sign-in connections","openapi":"/openapi.yaml get /v2/org/sign-in/connections","href":"/api-reference/sign-in/list-sign-in-connections"},{"title":"Create a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Create a sign-in connection","openapi":"/openapi.yaml post /v2/org/sign-in/connections","href":"/api-reference/sign-in/create-a-sign-in-connection"},{"title":"Change a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change a sign-in connection","openapi":"/openapi.yaml patch /v2/org/sign-in/connections/{id}","href":"/api-reference/sign-in/change-a-sign-in-connection"},{"title":"Delete a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Delete a sign-in connection","openapi":"/openapi.yaml delete /v2/org/sign-in/connections/{id}","href":"/api-reference/sign-in/delete-a-sign-in-connection"},{"title":"Test a sign-in connection","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Test a sign-in connection","openapi":"/openapi.yaml post /v2/org/sign-in/connections/{id}/test","href":"/api-reference/sign-in/test-a-sign-in-connection"},{"title":"List sign-in domains","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List sign-in domains","openapi":"/openapi.yaml get /v2/org/sign-in/domains","href":"/api-reference/sign-in/list-sign-in-domains"},{"title":"Claim a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Claim a sign-in domain","openapi":"/openapi.yaml post /v2/org/sign-in/domains","href":"/api-reference/sign-in/claim-a-sign-in-domain"},{"title":"Release a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Release a sign-in domain","openapi":"/openapi.yaml delete /v2/org/sign-in/domains/{id}","href":"/api-reference/sign-in/release-a-sign-in-domain"},{"title":"Verify a sign-in domain","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Verify a sign-in domain","openapi":"/openapi.yaml post /v2/org/sign-in/domains/{id}/verify","href":"/api-reference/sign-in/verify-a-sign-in-domain"},{"title":"Read the sign-in requirement","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the sign-in requirement","openapi":"/openapi.yaml get /v2/org/sign-in/enforcement","href":"/api-reference/sign-in/read-the-sign-in-requirement"},{"title":"Change the sign-in requirement","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Change the sign-in requirement","openapi":"/openapi.yaml patch /v2/org/sign-in/enforcement","href":"/api-reference/sign-in/change-the-sign-in-requirement"}]},{"group":"Directory tokens","root":{"title":"Directory Tokens API: Tokens for Directory Sync","sidebarTitle":"Overview","href":"/api-reference/directory-tokens"},"pages":[{"title":"List directory tokens","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"List directory tokens","openapi":"/openapi.yaml get /v2/org/directory-tokens","href":"/api-reference/directory-tokens/list-directory-tokens"},{"title":"Make a directory token","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Make a directory token","openapi":"/openapi.yaml post /v2/org/directory-tokens","href":"/api-reference/directory-tokens/make-a-directory-token"},{"title":"Revoke a directory token","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Revoke a directory token","openapi":"/openapi.yaml delete /v2/org/directory-tokens/{id}","href":"/api-reference/directory-tokens/revoke-a-directory-token"}]},{"group":"LLM sign-in","root":{"title":"LLM Sign-in API: Add a Claude or ChatGPT Subscription","sidebarTitle":"Overview","href":"/api-reference/llm-sign-in"},"pages":[{"title":"Start a Claude sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Start a Claude sign-in","openapi":"/openapi.yaml post /v2/llm/anthropic/sign-in","href":"/api-reference/llm-sign-in/start-a-claude-sign-in"},{"title":"Finish a Claude sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Finish a Claude sign-in","openapi":"/openapi.yaml post /v2/llm/anthropic/sign-in/finish","href":"/api-reference/llm-sign-in/finish-a-claude-sign-in"},{"title":"Start a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Start a ChatGPT sign-in","openapi":"/openapi.yaml post /v2/llm/openai/sign-in","href":"/api-reference/llm-sign-in/start-a-chatgpt-sign-in"},{"title":"Poll a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Poll a ChatGPT sign-in","openapi":"/openapi.yaml get /v2/llm/openai/sign-in/{id}","href":"/api-reference/llm-sign-in/poll-a-chatgpt-sign-in"},{"title":"Cancel a ChatGPT sign-in","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Cancel a ChatGPT sign-in","openapi":"/openapi.yaml delete /v2/llm/openai/sign-in/{id}","href":"/api-reference/llm-sign-in/cancel-a-chatgpt-sign-in"}]},{"group":"Billing","root":{"title":"Billing API: Plan, Credits and Payment State","sidebarTitle":"Overview","href":"/api-reference/billing"},"pages":[{"title":"Link an AWS Marketplace purchase","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Link an AWS Marketplace purchase","openapi":"/openapi.yaml post /v2/billing/aws-marketplace/registrations","href":"/api-reference/billing/link-an-aws-marketplace-purchase"},{"title":"Read a payment problem","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read a payment problem","openapi":"/openapi.yaml get /v2/billing/payment-issue","href":"/api-reference/billing/read-a-payment-problem"},{"title":"Read the plan's usage","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the plan's usage","openapi":"/openapi.yaml get /v2/billing/quota","href":"/api-reference/billing/read-the-plans-usage"},{"title":"Read the subscription","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Read the subscription","openapi":"/openapi.yaml get /v2/billing/subscription","href":"/api-reference/billing/read-the-subscription"}]},{"group":"Support","root":{"title":"Support API: Write to the Team or Ask for an App","sidebarTitle":"Overview","href":"/api-reference/support"},"pages":[{"title":"Ask for an app","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Ask for an app","openapi":"/openapi.yaml post /v2/app-requests","href":"/api-reference/support/ask-for-an-app"},{"title":"Write to the team","deprecated":null,"version":null,"tag":"Cloud","sidebarTitle":"Write to the team","openapi":"/openapi.yaml post /v2/support","href":"/api-reference/support/write-to-the-team"}]}]}]},{"tab":"SDKs","pages":[{"title":"SDKs","href":"/sdks"}]}]},"basePath":"","title":"Shared Items API: One Key Shared With Many Vaults - OneCLI","deploymentId":"dpl_FJXVBuj1Gbcjzv4BLN7d4WGZQfWn","buildId":"dpl_FJXVBuj1Gbcjzv4BLN7d4WGZQfWn","dynamics":[],"chunks":[]}