var updates = new List<BoxMetadataTemplateUpdate>(){ new BoxMetadataTemplateUpdate() { Op = MetadataTemplateUpdateOp.addEnumOption, FieldKey = "fy", Data = new { key = "FY20" } }, new BoxMetadataTemplateUpdate() { Op = MetadataTemplateUpdateOp.editTemplate, Data = new { hidden = false } }};BoxMetadataTemplate updatedTemplate = await client.MetadataManager .UpdateMetadataTemplate(updates, "enterprise", "marketingCollateral");
Admin permissions requiredUpdating metadata templates is restricted to users with admin permission. This
means that only admins, or co-admins who have been granted rights to Create
and edit metadata templates for your company by the admin can use the web
app or the API to manage templates.
Updates to metadata templates are performed through operations rather than
directly changing the template itself. This method allows us to update any
existing metadata instances that are already applied to files and folders.
Template operations update a template’s details or fields. These operations are
generally safe as they are applied to any template instance without much impact.
Field operations transform the schema of a template. The following is a list of
operations that can be used in this API and can potentially change the data of
any previously assigned templates.These changes will be logged as template changes but not as file changes.
This will update the field category to have a new display name of
Customer Group. If the key is changed, existing values of the specified
field are migrated to the new key. The search index will be updated, yet it may
take time depending on how many files are affected by the change.
This may affect existing instances of this template.
The operation removeField removes a field from a template.
Parameter
fieldKey
The key of the field to remove from the template
{ "op": "removeField", "fieldKey": "brand"}
This will remove the field brand from the template as well as all instances of
the template. The search index will be updated, yet it may take time depending on
how many files are affected by the change.
This will affect existing instances of this template.
Both the and
metadata field types support
some additional operations to change the options of the fields.
Operation
Adds an option to an enum field
Edits an enum field option
Re-orders the options on an enum field
Removes an enum field option
Adds an option to a multiSelect field
Edits a multiSelect field option
Re-orders the options on a multiSelect field
Removes a multiSelect field option
Last modified on March 19, 2026
Was this page helpful?
{"docsConfig":{"theme":"aspen","$schema":"https://mintlify.com/docs.json","name":"Box Dev Docs","description":"Box for Developers: guides, API reference, SDKs, and tutorials for building content management, Box AI, and enterprise integrations.","colors":{"primary":"#0061d5","light":"#f6fafd","dark":"#002947"},"logo":{"light":"https://mintcdn.com/box/lJLw9z7FWORNWMcq/logo/boxdev-light.png?fit=max\u0026auto=format\u0026n=lJLw9z7FWORNWMcq\u0026q=85\u0026s=a11710b698ff59d24426f9ecec6c7e9c","dark":"https://mintcdn.com/box/siVVIgx7pBuvW4ua/logo/boxdev-dark.svg?fit=max\u0026auto=format\u0026n=siVVIgx7pBuvW4ua\u0026q=85\u0026s=0e34af393abb1b8c024258d684bb7732"},"favicon":"https://mintcdn.com/box/T2hwpVFBJMA4eeDs/favicon.ico?fit=max\u0026auto=format\u0026n=T2hwpVFBJMA4eeDs\u0026q=85\u0026s=2a2efcc60e46eca7ee3ebbe650c47350","api":{"examples":{"languages":["curl","python","node","swift","java",".Net"],"autogenerate":false}},"seo":{"metatags":{"google-site-verification":"fuelbNhVR1kQluNBJjYt4K1Hj5HvJLhLnIq0o9CAY9E"}},"fonts":{"family":"Inter"},"contextual":{"options":[{"title":"Install Box Agent Skills","description":"Add Box plugins to your AI assistants","icon":"sparkles","href":"/ai/agent-skills"},"cursor","vscode","mcp","chatgpt","claude","perplexity","copy","view"],"display":"header"},"metadata":{"timestamp":true},"styling":{"latex":false},"navigation":{"languages":[{"language":"en","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"Resources","items":[{"label":"Newsletter unsubscribe","href":"https://go.box.com/preferences.html"},{"label":"Terms of Use","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"Privacy Policy","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookie Notification","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"Log in","type":"button"}],"primary":{"type":"button","label":"Get started for free","href":"https://account.box.com/signup/developer"}},"href":""},{"language":"ja","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"リソース","items":[{"label":"ニュースレターの登録解除","href":"https://go.box.com/preferences.html"},{"label":"利用規約","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"個人情報保護方針","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookieに関する通知","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"ログイン","type":"button"}],"primary":{"type":"button","label":"今すぐ無料で開始","href":"https://account.box.com/signup/developer"}},"href":"ja"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"box","hasAudioNarration":false,"actualSubdomain":"box","customDomains":["developer.box.com"],"gitSource":{"type":"github","owner":"box","repo":"box-mintlify","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aecaf6e75e8c93633880f4a","collectionId":"8705f86c-e715-471b-b7d1-0c2b9f461869","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aecaf6e75e8c93633880f4a"},"feedback":{"thumbs":true,"issues":false},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"REMOVE_BRANDING":{"status":"ENABLED"},"CONTEXTUAL_FEEDBACK":{"status":"ENABLED"},"CODE_SNIPPET_FEEDBACK":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6aedb86061234cac26570604","clientVersion":"0.0.4076","searchFilterCounts":[{"language":"ja","tag":"APIリファレンス","count":768},{"language":"en","tag":"API reference","count":682},{"language":"en","tag":"Home","count":302},{"language":"ja","tag":"ホーム","count":302},{"language":"en","tag":"AI","count":183},{"language":"ja","tag":"AI","count":177},{"language":"en","tag":"Tools","count":71},{"language":"en","tag":"Dev tools","count":71},{"language":"ja","tag":"コラボレーション","count":66},{"language":"ja","tag":"ツール","count":62},{"language":"ja","tag":"開発ツール","count":62},{"language":"en","tag":"Metadata \u0026 search","count":56},{"language":"ja","tag":"メタデータと検索","count":56},{"language":"en","tag":"Supported AI models","count":50},{"language":"en","tag":"Collaboration","count":50},{"language":"en","tag":"Content","count":49},{"language":"ja","tag":"コンテンツ","count":49},{"language":"en","tag":"v2026.0","count":48},{"language":"ja","tag":"サポートされているAIモデル","count":47},{"language":"ja","tag":"メタデータ","count":41}]},"assistantConfig":{"enableAskAiButton":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"a code{border-bottom-color:none!important}.prose :where(a code):not(:where([class~=\"not-prose\"],[class~=\"not-prose\"] *)){color:inherit;font-weight:inherit;text-decoration:none;text-decoration-color:rgb(var(--primary));text-underline-offset:0;text-decoration-thickness:1px}#consent_blackbar{position:relative;z-index:9999999!important}#sidebar{z-index:1}#sidebar-content{z-index:0}a.nav-anchor img[src$=\"/images/sidebar/box.svg\"]{background-color:transparent!important}.left-0.right-0.sticky.sm\\:px-4.pb-4.sm\\:pb-6.bottom-0.pt-1.flex.flex-col.items-center.w-full.overflow-hidden.z-20{z-index:1}#truste-consent-track{z-index:9999999!important;position:fixed!important}.dark #truste-consent-track{background-color:#151f26!important;border-color:#1a1a1a}.dark #truste-show-consent{background-color:#fff;color:#151f26}.dark #truste-consent-text{color:#fff}#truste-consent-content{max-width:1400px}.homepage_container .card img{max-height:200px}.homepage_container h1 span,.homepage_container h2 span{margin:auto}header#header .eyebrow{display:none!important}#navbar .max-w-8xl.mx-auto.relative button .ml-4.flex.text-sm.leading-6.whitespace-nowrap.min-w-0.space-x-3.overflow-hidden{display:none!important}.sidebar-group-header:has(+.sidebar-group>li:is([id=\"/reference\"],[id=\"/ja/reference\"],[id=\"/ja/reference/v2025.0\"],[id=\"/ja/reference/v2026.0\"]))>.sidebar-title{display:none}footer div.flex.gap-4.flex-col.md\\:flex-row.md\\:items-center.md\\:gap-8.md\\:justify-center{flex-wrap:wrap}footer div.flex.gap-4.flex-col.md\\:flex-row.md\\:items-center.md\\:gap-8.md\\:justify-center a{white-space:nowrap;text-overflow:clip;overflow:visible;align-self:start;flex-shrink:0;cursor:pointer!important}#google-preferred-source-column{display:flex;flex-direction:column;align-items:flex-end;flex:0 0 auto;width:max-content;max-width:100%}#google-preferred-source{display:flex;justify-content:flex-end;width:auto;margin:0;padding-top:16px}.google-preferred-source-button{appearance:none;margin:0;padding:0;border:0;background:transparent;line-height:0;cursor:pointer}.google-preferred-source-badge{display:block;width:140px;max-width:100%;height:auto}.google-preferred-source-badge--dark{display:none}.dark .google-preferred-source-badge--light{display:none}.dark .google-preferred-source-badge--dark{display:block}.nav-logo{min-width:109px}.badge-guide,.badge-tutorial,.badge-quickstart{background-color:#1f2937;color:#fff}.dark .badge-guide,.dark .badge-tutorial,.dark .badge-quickstart{background-color:#1f2937;color:#fff}.badge-get{background-color:rgb(74 222 128/0.2);color:#15803d}.dark .badge-get{color:#4ade80}.badge-post{background-color:rgb(96 165 250/0.2);color:#1d4ed8}.dark .badge-post{color:#60a5fa}.badge-put,.badge-patch{background-color:rgb(250 204 21/0.2);color:#a16207}.dark .badge-put,.dark .badge-patch{color:#facc15}.badge-delete{background-color:rgb(248 113 113/0.2);color:#b91c1c}.dark .badge-delete{color:#f87171}.badge-api{background-color:#e3f2fd;color:#0d47a1}.dark .badge-api{background-color:#0d47a1;color:#bbdefb}.badge-reference,.badge-documentation{background-color:#000;color:#fff}.dark .badge-reference,.dark .badge-documentation{background-color:#000;color:#fff}.badge-default{background-color:#f5f5f5;color:#424242}.badge-group{display:inline-flex;gap:0.5rem;flex-wrap:wrap}.dark .badge-default{background-color:#424242;color:#e0e0e0}.update>div:first-child>div:nth-child(3){padding:0}.update>div:first-child>div:nth-child(3)>span{display:flex;padding-top:0.25rem;padding-bottom:0.25rem;padding-left:0.75rem;padding-right:0.75rem;align-items:center;border-radius:9999px;font-size:0.875rem;line-height:1.25rem;color:#374151;background-color:#f3f4f6}.dark .update>div:first-child>div:nth-child(3)>span{color:#cecece;background-color:#161616}.update>div:first-child>div:nth-child(3){order:4}.update>div:first-child>div:nth-child(4){order:3}div#banner a{text-decoration:none!important;color:#fff;font-weight:600}nav ul .navbar-link a,nav ul #topbar-cta-button a span{border-radius:50px!important}nav ul #topbar-cta-button a span{background-color:#0061d5}#topbar-cta-button a:hover span{opacity:1!important;background-color:#146bd5}.dark #topbar-cta-button a:hover span{opacity:1!important;background-color:#0058c3}.signup-cta-button,.signup-cta-button:hover,.signup-cta-button:focus,.signup-cta-button:active{background-color:#0061d5;border-radius:50px!important;transition:background-color 0.2s!important;box-shadow:none!important;transform:none!important;border:none!important;border-bottom:none!important;text-decoration:none!important;outline:none!important}.signup-cta-button:hover{background-color:#146bd5!important;opacity:1!important}.dark .signup-cta-button:hover{background-color:#0058c3!important;opacity:1!important}.homepage-secondary-button,.homepage-secondary-button:hover,.homepage-secondary-button:focus,.homepage-secondary-button:active{border-radius:50px!important;border:1px solid #d1d5db!important;background-color:transparent!important;color:#1f2937!important;transition:background-color 0.2s!important;box-shadow:none!important;transform:none!important;text-decoration:none!important;outline:none!important}.homepage-secondary-button:hover{background-color:#f9fafb!important}.dark .homepage-secondary-button,.dark .homepage-secondary-button:focus,.dark .homepage-secondary-button:active{border-color:#4b5563!important;color:#e5e7eb!important}.dark .homepage-secondary-button:hover{background-color:#1f2937!important}.signup-cta-login,.signup-cta-login:hover,.signup-cta-login:focus,.signup-cta-login:active{text-decoration:none!important;border-bottom:none!important}#content-area h1,#content-area h2,#content-area h3,#content-area h4,#content-area h5,#content-area h6{font-weight:600!important}#content-area h1{font-size:32px!important}.dark img[src*=\"guides-box-ai-ai-models/claude.svg\"],.dark img[src*=\"guides-box-ai-ai-models/gemini.svg\"],.dark img[src*=\"guides-box-ai-ai-models/grok.svg\"],.dark img[src*=\"guides-box-ai-ai-models/meta.svg\"],.dark img[src*=\"guides-box-ai-ai-models/mistral.svg\"],.dark img[src*=\"guides-box-ai-ai-models/nvidia.svg\"],.dark img[src*=\"guides-box-ai-ai-models/openai.svg\"]{filter:invert(1)}.partner-logos [data-component-part=\"card-icon\"] svg{background-color:#000!important}.dark .partner-logos [data-component-part=\"card-icon\"] svg{background-color:#fff!important}.partner-logos [data-component-part=\"card-icon\"] img{filter:brightness(0)}.dark .partner-logos [data-component-part=\"card-icon\"] img{filter:brightness(0) invert(1)}.homepage_h2{font-size:28px!important}#footer>div{z-index:0}.chat-assistant-floating-input{z-index:1!important}"}],"page":{"pagePath":"guides/metadata/templates/update","slug":"/guides/metadata/templates/update","pageMetadata":{"title":"Update a metadata template","description":null,"href":"/guides/metadata/templates/update"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];const Link=({href,children,className,...props})=>{const _components={a:`a`,..._provideComponents()};const localizedHref=localizeLink(href);return _jsx(_components.a,{href:localizedHref,className,...props,children})};const MultiRelatedLinks=({sections=[]})=>{const{RelatedLinks}=_provideComponents()||{};if(!RelatedLinks)_missingMdxReference(`RelatedLinks`,true);if(!sections||sections.length===0){return null}return _jsx(`div`,{className:`mint-space-y-8`,children:sections.map((section,index)=>_jsx(RelatedLinks,{title:section.title,items:section.items},index))})};const RelatedLinks=({title,items=[]})=>{const _components={a:`a`,..._provideComponents()};const getBadgeClass=badge=>{if(!badge)return`badge-default`;const badgeType=badge.toLowerCase().replace(/\\s+/g,`-`);return`badge-${badge===`ガイド`?`guide`:badgeType}`};if(!items||items.length===0){return null}return _jsxs(`div`,{className:`mint-my-8`,children:[_jsx(`h3`,{className:`mint-text-sm mint-font-bold mint-uppercase mint-tracking-wider mint-mb-4`,children:title}),_jsx(`div`,{className:`mint-flex mint-flex-col mint-gap-3`,children:items.map((item,index)=>_jsxs(_components.a,{href:item.href,className:`mint-py-2 mint-px-3 mint-rounded related_link hover:mint-bg-[#f2f2f2] dark:hover:mint-bg-[#111827] mint-flex mint-items-center mint-gap-3 group mint-no-underline hover:mint-no-underline mint-border-b-0`,children:[_jsx(`span`,{className:`mint-px-2 mint-py-1 mint-rounded-full mint-text-xs mint-font-semibold mint-uppercase mint-tracking-wide mint-flex-shrink-0 ${getBadgeClass(item.badge)}`,children:item.badge}),_jsx(`span`,{className:`mint-text-base`,children:item.label})]},index))})]})};function _createMdxContent(props){const _components={code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,..._provideComponents(),...props.components},{CodeBlock,CodeGroup,Heading,Table,Warning,_MdxComponentBoundary}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Warning)_missingMdxReference(`Warning`,true);if(!_MdxComponentBoundary)_missingMdxReference(`_MdxComponentBoundary`,true);return _jsxs(_Fragment,{children:[_jsx(_MdxComponentBoundary,{name:`RelatedLinks`,children:_jsx(RelatedLinks,{title:`REQUIRED GUIDES`,items:[{label:translate(`Metadata template scopes`),href:`/guides/metadata/scopes`,badge:`GUIDE`},{label:translate(`Create a metadata template`),href:`/guides/metadata/templates/create`,badge:`GUIDE`}]})}),`\n`,_jsxs(_components.p,{children:[`Updating a metadata template can be achieved by passing an array of operations\nto the `,_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/reference/put-metadata-templates-id-id-schema`,children:_jsx(_components.code,{children:`PUT /metadata_templates/:scope/:templateKey/schema`})})}),` API.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`cURL`,numberOfLines:`12`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`12`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -i`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` PUT`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://api.box.com/2.0/metadata_templates/enterprise/blueprintTemplate/schema\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"authorization: Bearer \u003cACCESS_TOKEN>\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"content-type: application/json-patch+json\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '[`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"op\": \"editField\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fieldKey\": \"category\",`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"data\": {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"displayName\": \"Customer Group\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` ]'`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node/TypeScript v10`,numberOfLines:`11`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metadataTemplates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateMetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'enterprise'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` UpdateMetadataTemplateScope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` templateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` op:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'addField'`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` as`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` UpdateMetadataTemplateRequestBodyOpField`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fieldKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'newfieldname'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'type'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`]:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'string'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`[`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'displayName'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`]:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'newFieldName'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`satisfies`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` UpdateMetadataTemplateRequestBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python v10`,numberOfLines:`11`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`client.metadata_templates.update_metadata_template(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` UpdateMetadataTemplateScope.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ENTERPRISE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` template_key,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` UpdateMetadataTemplateRequestBody(`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` op`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`UpdateMetadataTemplateRequestBodyOpField.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#D4D4D4`},children:`ADDFIELD`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` field_key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newfieldname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newFieldName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`},`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` )`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`.NET v10`,numberOfLines:`1`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MetadataTemplates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`UpdateMetadataTemplateAsync`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`scope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UpdateMetadataTemplateScope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Enterprise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`templateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`templateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`requestBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Array`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`AsReadOnly`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [] {`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` UpdateMetadataTemplateRequestBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`op`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UpdateMetadataTemplateRequestBodyOpField`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`AddField`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`) { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`FieldKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"newfieldname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` Dictionary`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`string`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`object`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>() { { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }, { `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newFieldName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } } }}));`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Swift v10`,numberOfLines:`1`,language:`swift`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`swift`,children:_jsxs(_components.code,{language:`swift`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`try`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metadataTemplates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`updateMetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`scope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: UpdateMetadataTemplateScope.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`enterprise`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`templateKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: templateKey, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`requestBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`UpdateMetadataTemplateRequestBody`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`op`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: UpdateMetadataTemplateRequestBodyOpField.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`addField`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`fieldKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newfieldname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#DCDCAA`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"displayName\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"newFieldName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`])])`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java v10`,numberOfLines:`1`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getMetadataTemplates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateMetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UpdateMetadataTemplateScope`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ENTERPRISE`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, templateKey, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`Arrays`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`asList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` UpdateMetadataTemplateRequestBody.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`Builder`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`UpdateMetadataTemplateRequestBodyOpField`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`ADDFIELD`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`data`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`mapOf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`entryOf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`), `}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`entryOf`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newFieldName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`))).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`fieldKey`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"newfieldname\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`).`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`build`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()))`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Java v5`,numberOfLines:`11`,language:`java`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`java`,children:_jsxs(_components.code,{language:`java`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`List`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`MetadataTemplate`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`FieldOperation`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#D4D4D4`},children:`> `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`updates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:` new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:` ArrayList`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`MetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#4EC9B0`},children:`FieldOperation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>();`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` addCategoryFieldJSON`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`op`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`addField`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\\\\`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:{\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`displayName`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`Category`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`category`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`hidden`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:false,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`type`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`string`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`updates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MetadataTemplate.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`FieldOperation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(addCategoryFieldJSON));`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#4EC9B0`},children:`String`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` changeTemplateNameJSON`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"{`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`op`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`editTemplate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`,`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:{\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` +`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`displayName`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`:`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`My Metadata`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:`\\\\\"`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`}}\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`updates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`add`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` MetadataTemplate.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`FieldOperation`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(changeTemplateNameJSON));`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateMetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(api, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enterprise\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"myData\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, updates);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Python v4`,numberOfLines:`6`,language:`python`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`python`,children:_jsxs(_components.code,{language:`python`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`template `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` client.metadata_template(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'enterprise'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'employeeRecord'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`updates `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` template.start_update()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`updates.add_enum_option(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'state'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'WI'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`updates.edit_template({`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'hidden'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`updates.edit_template({`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'copyInstanceOnItemCopy'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`False`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`})`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`updated_template `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` template.update_info(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`updates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`updates)`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`.NET v6`,numberOfLines:`20`,language:`csharp`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`csharp`,children:_jsxs(_components.code,{language:`csharp`,numberOfLines:`20`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`var`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` updates`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` List`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`BoxMetadataTemplateUpdate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`>()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BoxMetadataTemplateUpdate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Op`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MetadataTemplateUpdateOp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`addEnumOption`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` FieldKey`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"fy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` key`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"FY20\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:` BoxMetadataTemplateUpdate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Op`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` MetadataTemplateUpdateOp`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`editTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` Data`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` new`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` hidden`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`};`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#4EC9B0`},children:`BoxMetadataTemplate`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:` updatedTemplate`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` await`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`MetadataManager`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`UpdateMetadataTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`updates`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"enterprise\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"marketingCollateral\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),_jsx(CodeBlock,{filename:`Node v4`,numberOfLines:`39`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`39`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// Add a new option to the Fiscal Year field, and un-hide the template`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`var`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` operations`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` op:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'addEnumOption'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` fieldKey:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'fy'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`key:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'FY20'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` op:`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` 'editTemplate'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` data:`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`hidden:`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`];`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`client`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`metadata`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`updateTemplate`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'enterprise'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'vcontract'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`operations`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` .`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`then`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#9CDCFE`},children:`template`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:` =>`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` /* template -> {`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` templateKey: 'vcontract',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` scope: 'enterprise_12345',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` displayName: 'Vendor Contract',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` hidden: false,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` fields: `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` [ { type: 'date',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` key: 'signed',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` displayName: 'Date Signed',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` hidden: false },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` { type: 'string',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` key: 'vendor',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` displayName: 'Vendor',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` hidden: false },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` { type: 'enum',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` key: 'fy',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` displayName: 'Fiscal Year',`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` options: `})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` [ { key: 'FY17' },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` { key: 'FY18' },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` { key: 'FY19' },`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` { key: 'FY20' } ],`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` hidden: false } ] }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:` */`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` });`})}),`\n`]})})})]}),`\n`,_jsxs(Warning,{children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Admin permissions required`})}),_jsxs(_components.p,{children:[`Updating metadata templates is restricted to users with admin permission. This\nmeans that only admins, or co-admins who have been granted rights to `,_jsx(_components.strong,{children:`Create\nand edit metadata templates for your company`}),` by the admin can use the web\napp or the API to manage templates.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`operations`,children:`Operations`}),`\n`,_jsxs(_components.p,{children:[`Updates to metadata templates are performed through `,_jsx(_components.strong,{children:`operations`}),` rather than\ndirectly changing the template itself. This method allows us to update any\nexisting metadata instances that are already applied to files and folders.`]}),`\n`,_jsx(Heading,{level:`2`,id:`template-operations`,children:`Template operations`}),`\n`,_jsx(_components.p,{children:`Template operations update a template’s details or fields. These operations are\ngenerally safe as they are applied to any template instance without much impact.`}),`\n`,_jsx(Heading,{level:`3`,id:`edit-a-template`,children:`Edit a template`}),`\n`,_jsxs(_components.p,{children:[`The operation `,_jsx(_components.code,{children:`editTemplate`}),` allows for editing any of the base properties of\nthe template, like the `,_jsx(_components.code,{children:`displayName`}),`, `,_jsx(_components.code,{children:`copyInstanceOnItemCopy`}),` and more.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`An object representing the properties to change`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`9`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"op\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"editTemplate\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Client\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"copyInstanceOnItemCopy\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`true`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`This will update the template to have a new display name of Client.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This will affect existing instances of this template.`})}),`\n`,_jsx(Heading,{level:`3`,id:`add-a-field-to-a-template`,children:`Add a field to a template`}),`\n`,_jsxs(_components.p,{children:[`The operation `,_jsx(_components.code,{children:`addField`}),` adds a field to a template.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`An object representing field to add`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`11`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`[`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"op\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"addField\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"key\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"hidden\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"string\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This will add a new non-hidden string field with a `,_jsx(_components.code,{children:`displayName`}),` and `,_jsx(_components.code,{children:`key`}),` of\n`,_jsx(_components.strong,{children:`category`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This will affect existing instances of this template.`})}),`\n`,_jsx(Heading,{level:`3`,id:`reorder-fields`,children:`Reorder fields`}),`\n`,_jsxs(_components.p,{children:[`The operation `,_jsx(_components.code,{children:`reorderFields`}),` reorders the list of fields in a template to match\nthe requested field list.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fieldKeys`})}),_jsx(_components.td,{children:`The new list of field keys in the requested order`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"op\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"reorderFields\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fieldKeys\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: [`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"field2\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"field1\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"field3\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`]`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This will reorder the fields for the template to have `,_jsx(_components.code,{children:`field2`}),` first, followed\nby `,_jsx(_components.code,{children:`field1`}),`, then `,_jsx(_components.code,{children:`field3`}),`.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This will affect existing instances of this template. It will reorder the\nfields, yet keep the values of the fields intact.`})}),`\n`,_jsx(Heading,{level:`2`,id:`field-operations`,children:`Field operations`}),`\n`,_jsx(_components.p,{children:`Field operations transform the schema of a template. The following is a list of\noperations that can be used in this API and can potentially change the data of\nany previously assigned templates.`}),`\n`,_jsx(_components.p,{children:`These changes will be logged as template changes but not as file changes.`}),`\n`,_jsx(Heading,{level:`3`,id:`edit-a-field`,children:`Edit a field`}),`\n`,_jsxs(_components.p,{children:[`The operation `,_jsx(_components.code,{children:`editField`}),` edits any number of the base properties of a\nfield like the `,_jsx(_components.code,{children:`displayName`}),`, `,_jsx(_components.code,{children:`description`}),`, `,_jsx(_components.code,{children:`key`}),`, and `,_jsx(_components.code,{children:`hidden`}),` state.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`data`})}),_jsx(_components.td,{children:`An object representing the new properties to set for the field`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fieldKey`})}),_jsx(_components.td,{children:`The key of the field to be edited`})]})]})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`7`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`7`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"op\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"editField\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fieldKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"category\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"data\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"displayName\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"Customer Group\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This will update the field `,_jsx(_components.code,{children:`category`}),` to have a new display name of\n`,_jsx(_components.strong,{children:`Customer Group`}),`. If the key is changed, existing values of the specified\nfield are migrated to the new key. The search index will be updated, yet it may\ntake time depending on how many files are affected by the change.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This may affect existing instances of this template.`})}),`\n`,_jsx(Heading,{level:`3`,id:`remove-a-field`,children:`Remove a field`}),`\n`,_jsxs(_components.p,{children:[`The operation `,_jsx(_components.code,{children:`removeField`}),` removes a field from a template.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Parameter`}),_jsx(_components.th,{})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fieldKey`})}),_jsx(_components.td,{children:`The key of the field to remove from the template`})]})})]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`4`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"op\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"removeField\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"fieldKey\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"brand\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`This will remove the field `,_jsx(_components.code,{children:`brand`}),` from the template as well as all instances of\nthe template. The search index will be updated, yet it may take time depending on\nhow many files are affected by the change.`]}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`This will affect existing instances of this template.`})}),`\n`,_jsx(Heading,{level:`2`,id:`field-option-operations`,children:`Field Option Operations`}),`\n`,_jsxs(_components.p,{children:[`Both the `,_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/enum`,children:_jsx(_components.code,{children:`enum`})})}),` and\n`,_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/multi-select`,children:_jsx(_components.code,{children:`multiSelect`})})}),` metadata field types support\nsome additional operations to change the options of the fields.`]}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Operation`}),_jsx(_components.th,{})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/enum#add-an-option`,children:_jsx(_components.code,{children:`addEnumOption`})})})}),_jsxs(_components.td,{children:[`Adds an option to an `,_jsx(_components.code,{children:`enum`}),` field`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/enum#edit-an-option`,children:_jsx(_components.code,{children:`editEnumOption`})})})}),_jsxs(_components.td,{children:[`Edits an `,_jsx(_components.code,{children:`enum`}),` field option`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/enum#reorder-options`,children:_jsx(_components.code,{children:`reorderEnumOptions`})})})}),_jsxs(_components.td,{children:[`Re-orders the options on an `,_jsx(_components.code,{children:`enum`}),` field`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/enum#remove-an-option`,children:_jsx(_components.code,{children:`removeEnumOption`})})})}),_jsxs(_components.td,{children:[`Removes an `,_jsx(_components.code,{children:`enum`}),` field option`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/multi-select#add-an-option`,children:_jsx(_components.code,{children:`addMultiSelectOption`})})})}),_jsxs(_components.td,{children:[`Adds an option to a `,_jsx(_components.code,{children:`multiSelect`}),` field`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/multi-select#edit-an-option`,children:_jsx(_components.code,{children:`editMultiSelectOption`})})})}),_jsxs(_components.td,{children:[`Edits a `,_jsx(_components.code,{children:`multiSelect`}),` field option`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/multi-select#reorder-options`,children:_jsx(_components.code,{children:`reorderMultiSelectOptions`})})})}),_jsxs(_components.td,{children:[`Re-orders the options on a `,_jsx(_components.code,{children:`multiSelect`}),` field`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_MdxComponentBoundary,{name:`Link`,children:_jsx(Link,{href:`/guides/metadata/fields/multi-select#remove-an-option`,children:_jsx(_components.code,{children:`removeMultiSelectOption`})})})}),_jsxs(_components.td,{children:[`Removes a `,_jsx(_components.code,{children:`multiSelect`}),` field option`]})]})]})]}),`\n`,_jsx(_MdxComponentBoundary,{name:`RelatedLinks`,children:_jsx(RelatedLinks,{title:`RELATED APIS`,items:[{label:translate(`Update metadata template`),href:`/reference/put-metadata-templates-id-id-schema`,badge:`PUT`}]})}),`\n`,_jsx(_MdxComponentBoundary,{name:`RelatedLinks`,children:_jsx(RelatedLinks,{title:`RELATED GUIDES`,items:[{label:translate(`Create a metadata template`),href:`/guides/metadata/templates/create`,badge:`GUIDE`}]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{Link,MultiRelatedLinks,RelatedLinks,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":"Update a metadata template","description":null,"href":"/guides/metadata/templates/update"}}},"mdxSourceWithNoJs":null,"noJsSplices":[[140,1795,")=>null;const MultiRelatedLinks=()=>null;const RelatedLinks=()=>null;function _c"],[2527,2729,""],[83875,83995,""],[84102,84213,""]]},"mdxExtracts":{"tableOfContents":[{"title":"Operations","slug":"operations","depth":2,"children":[]},{"title":"Template operations","slug":"template-operations","depth":2,"children":[{"title":"Edit a template","slug":"edit-a-template","depth":3,"children":[]},{"title":"Add a field to a template","slug":"add-a-field-to-a-template","depth":3,"children":[]},{"title":"Reorder fields","slug":"reorder-fields","depth":3,"children":[]}]},{"title":"Field operations","slug":"field-operations","depth":2,"children":[{"title":"Edit a field","slug":"edit-a-field","depth":3,"children":[]},{"title":"Remove a field","slug":"remove-a-field","depth":3,"children":[]}]},{"title":"Field Option Operations","slug":"field-option-operations","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/box/523776d2eff70e58/scripts/cookie-banner.js","/_mintlify/custom/box/e597cec886c1778e/scripts/locale-links.js","/_mintlify/custom/box/37b2f846ed414abc/snippets/choose-choice-simple.js","/_mintlify/custom/box/78fc14bb599966cb/scripts/locale-footer-combined.js","/_mintlify/custom/box/9a429216167d598a/scripts/analitics.js","/_mintlify/custom/box/2f463a090bfcd0e8/snippets/boxIntl.js","/_mintlify/custom/box/d85293f12c33d7ee/snippets/translations.js","/_mintlify/custom/box/d67e74fc334b686a/scripts/preferred-source.js"],"dynamicCss":".mint-my-8 {\n margin-top: 2rem;\n margin-bottom: 2rem\n}\n.mint-mb-4 {\n margin-bottom: 1rem\n}\n.mint-flex {\n display: flex\n}\n.mint-flex-shrink-0 {\n flex-shrink: 0\n}\n.mint-flex-col {\n flex-direction: column\n}\n.mint-items-center {\n align-items: center\n}\n.mint-gap-3 {\n gap: 0.75rem\n}\n.mint-space-y-8 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(2rem * var(--tw-space-y-reverse))\n}\n.mint-rounded {\n border-radius: 0.25rem\n}\n.mint-rounded-full {\n border-radius: 9999px\n}\n.mint-border-b-0 {\n border-bottom-width: 0px\n}\n.mint-px-2 {\n padding-left: 0.5rem;\n padding-right: 0.5rem\n}\n.mint-px-3 {\n padding-left: 0.75rem;\n padding-right: 0.75rem\n}\n.mint-py-1 {\n padding-top: 0.25rem;\n padding-bottom: 0.25rem\n}\n.mint-py-2 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem\n}\n.mint-text-base {\n font-size: 1rem;\n line-height: 1.5rem\n}\n.mint-text-sm {\n font-size: 0.875rem;\n line-height: 1.25rem\n}\n.mint-text-xs {\n font-size: 0.75rem;\n line-height: 1rem\n}\n.mint-font-bold {\n font-weight: 700\n}\n.mint-font-semibold {\n font-weight: 600\n}\n.mint-uppercase {\n text-transform: uppercase\n}\n.mint-tracking-wide {\n letter-spacing: 0.025em\n}\n.mint-tracking-wider {\n letter-spacing: 0.05em\n}\n.mint-no-underline {\n text-decoration-line: none\n}\n.hover\\:mint-bg-\\[\\#f2f2f2\\]:hover {\n --tw-bg-opacity: 1;\n background-color: rgb(242 242 242 / var(--tw-bg-opacity, 1))\n}\n.hover\\:mint-no-underline:hover {\n text-decoration-line: none\n}\n.dark\\:hover\\:mint-bg-\\[\\#111827\\]:hover:is(.dark *) {\n --tw-bg-opacity: 1;\n background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1))\n}","subdomain":"box","siteName":"Box Dev Docs","title":"Update a metadata template - Box Dev Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/guides/metadata/templates/update","matchLevel":0},"ja":{"href":"/ja/guides/metadata/templates/update","matchLevel":1}}},"lastModified":"2026-11-05T16:32:58.621Z","gitLastModified":"2026-03-19T13:45:30.000Z","originalFileLocation":"guides/metadata/templates/update.mdx","locale":"en"},"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=\"system\"}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=\"application-name\" content=\"Box Dev Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_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=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update a metadata template - Box Dev Docs\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Box Dev Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://developer.box.com/guides/metadata/templates/update\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://box.mintlify.site/_mintlify/api/og/v2?division=Metadata+templates\u0026amp;title=Update+a+metadata+template\u0026amp;theme=7c006b8b877970d319badcf9\u0026amp;signature=558d647a8102069ec4c2cf1b3623a26ee5bcd6ad68981a7cbe0261f7bb903c1c\">\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=\"Update a metadata template - Box Dev Docs\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://box.mintlify.site/_mintlify/api/og/v2?division=Metadata+templates\u0026amp;title=Update+a+metadata+template\u0026amp;theme=7c006b8b877970d319badcf9\u0026amp;signature=558d647a8102069ec4c2cf1b3623a26ee5bcd6ad68981a7cbe0261f7bb903c1c\">\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=\"/mintlify-assets/_mintlify/favicons/box/ZCmC4_xrCUAVE-ZZ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Box Dev Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0061d5\">\u003cmeta data-mint-head name=\"google-site-verification\" content=\"fuelbNhVR1kQluNBJjYt4K1Hj5HvJLhLnIq0o9CAY9E\">\u003clink data-mint-head rel=\"canonical\" href=\"https://developer.box.com/guides/metadata/templates/update\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/guides/metadata/templates/update.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://developer.box.com/guides/metadata/templates/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://developer.box.com/ja/guides/metadata/templates/update\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://developer.box.com/guides/metadata/templates/update\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://developer.box.com/#organization\",\"name\":\"Box Dev Docs\",\"url\":\"https://developer.box.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/box/lJLw9z7FWORNWMcq/logo/boxdev-light.png?fit=max\u0026auto=format\u0026n=lJLw9z7FWORNWMcq\u0026q=85\u0026s=a11710b698ff59d24426f9ecec6c7e9c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://developer.box.com#website\",\"name\":\"Box Dev Docs\",\"url\":\"https://developer.box.com\",\"publisher\":{\"@id\":\"https://developer.box.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://developer.box.com/guides/metadata/templates/update#webpage\",\"url\":\"https://developer.box.com/guides/metadata/templates/update\",\"name\":\"Update a metadata template\",\"dateModified\":\"2026-03-19T13:45:30.000Z\",\"isPartOf\":{\"@id\":\"https://developer.box.com#website\"},\"breadcrumb\":{\"@id\":\"https://developer.box.com/guides/metadata/templates/update#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://developer.box.com/guides/metadata/templates/update#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Metadata \u0026 search\",\"item\":\"https://developer.box.com/guides/metadata/quick-start/list-all\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Metadata\",\"item\":\"https://developer.box.com/guides/metadata/index\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Metadata templates\",\"item\":\"https://developer.box.com/guides/metadata/templates/index\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update a metadata template\",\"item\":\"https://developer.box.com/guides/metadata/templates/update\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://developer.box.com/guides/metadata/templates/update#article\",\"headline\":\"Update a metadata template\",\"name\":\"Update a metadata template\",\"url\":\"https://developer.box.com/guides/metadata/templates/update\",\"mainEntityOfPage\":{\"@id\":\"https://developer.box.com/guides/metadata/templates/update#webpage\"},\"dateModified\":\"2026-03-19T13:45:30.000Z\",\"publisher\":{\"@id\":\"https://developer.box.com/#organization\"},\"isPartOf\":{\"@id\":\"https://developer.box.com#website\"}}]}\u003c/script>","siteName":"Box Dev Docs","nav":{"global":null,"languages":[{"language":"en","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"Resources","items":[{"label":"Newsletter unsubscribe","href":"https://go.box.com/preferences.html"},{"label":"Terms of Use","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"Privacy Policy","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookie Notification","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"Log in","type":"button"}],"primary":{"type":"button","label":"Get started for free","href":"https://account.box.com/signup/developer"}},"tabs":[{"tab":"Home","pages":[{"title":"Home","sidebarTitle":"Box Dev Docs","mode":"frame","href":""},{"title":"Sample Code Catalog","mode":"wide","href":"/sample-code"},{"group":"Getting started","pages":[{"title":"Box for Developers quick start","sidebarTitle":"Quick Start","href":"/guides/getting-started/index"},{"sidebarTitle":"Free developer plan","title":"Free developer plan","href":"/guides/getting-started/free-developer-plan"},{"title":"Why Box for developers","sidebarTitle":"Why Box","href":"/guides/getting-started/why-box"},{"title":"Plan your integration","sidebarTitle":"Plan your integration","href":"/guides/getting-started/plan-your-integration"},{"title":"User types","sidebarTitle":"User types","href":"/guides/getting-started/users"},{"title":"Create your first application","sidebarTitle":"Create your first application","href":"/guides/getting-started/first-application"},{"title":"Locating IDs","sidebarTitle":"Locating IDs","href":"/guides/getting-started/locating-values"},{"title":"Box developer sandboxes","sidebarTitle":"Sandboxes","href":"/guides/getting-started/sandbox"},{"title":"Box for Developers glossary","href":"/guides/getting-started/box-glossary"},{"title":"Box Platform API agent playbook","href":"/guides/getting-started/agent-playbook"}]},{"group":"Applications \u0026 integrations","pages":[{"title":"Applications","href":"/guides/applications/index"},{"title":"Integrations","href":"/guides/applications/integrations/index"},{"group":"Platform Apps","root":{"title":"Platform Apps","href":"/guides/applications/platform-apps/index"},"pages":[{"title":"Create a Platform App","href":"/guides/applications/platform-apps/create"}]},{"group":"Web App Integrations","root":{"title":"Web App Integrations","href":"/guides/applications/web-app-integrations/index"},"pages":[{"title":"Integrations Types","href":"/guides/applications/web-app-integrations/types"},{"title":"User Experience","href":"/guides/applications/web-app-integrations/user-experience"},{"title":"Create Web App Integration","href":"/guides/applications/web-app-integrations/configure"}]},{"group":"Slack integration mappings","root":{"title":"Slack Integration Mappings","sidebarTitle":"Overview","href":"/guides/integration-mappings/slack-mappings/index"},"pages":[{"title":"Slack Integration Mappings Setup","href":"/guides/integration-mappings/slack-mappings/setup"},{"title":"List Slack Integration Mappings","href":"/guides/integration-mappings/slack-mappings/list-mappings"},{"title":"Create Slack Integration Mapping","href":"/guides/integration-mappings/slack-mappings/create-mapping"},{"title":"Update Slack Integration Mapping","href":"/guides/integration-mappings/slack-mappings/update-mapping"},{"title":"Delete Slack Integration Mapping","href":"/guides/integration-mappings/slack-mappings/delete-mapping"},{"title":"Slack Integration Mappings Troubleshooting","href":"/guides/integration-mappings/slack-mappings/troubleshooting"}]},{"group":"Teams integration mappings","root":{"title":"Teams integration mappings","sidebarTitle":"Overview","href":"/guides/integration-mappings/teams-mappings/index"},"pages":[{"title":"List Teams integration mappings","href":"/guides/integration-mappings/teams-mappings/list-mappings"},{"title":"Create Teams integration mappings","href":"/guides/integration-mappings/teams-mappings/create-mappings"},{"title":"Update Teams integration mappings","href":"/guides/integration-mappings/teams-mappings/update-mappings"},{"title":"Delete Teams integration mappings","href":"/guides/integration-mappings/teams-mappings/delete-mappings"}]}]},{"group":"Identity \u0026 access","pages":[{"group":"Authentication","root":{"title":"Authentication","sidebarTitle":"Overview","href":"/guides/authentication/index"},"pages":[{"group":"OAuth 2.0","root":{"title":"OAuth 2.0 authentication","sidebarTitle":"Overview","href":"/guides/authentication/oauth2/index"},"pages":[{"title":"Setup with OAuth 2.0","href":"/guides/authentication/oauth2/oauth2-setup"},{"title":"OAuth 2.0 with SDKs","href":"/guides/authentication/oauth2/with-sdk"},{"title":"OAuth 2.0 without SDKs","href":"/guides/authentication/oauth2/without-sdk"},{"title":"as-user header","href":"/guides/authentication/oauth2/as-user"}]},{"group":"Client Credentials Grant","root":{"title":"Client Credentials Grant","sidebarTitle":"Overview","href":"/guides/authentication/client-credentials/index"},"pages":[{"title":"Setup with Client Credentials Grant","href":"/guides/authentication/client-credentials/client-credentials-setup"}]},{"group":"JWT","root":{"title":"JWT authentication","sidebarTitle":"Overview","href":"/guides/authentication/jwt/index"},"pages":[{"title":"Setup with JWT","href":"/guides/authentication/jwt/jwt-setup"},{"title":"JWT with SDKs","href":"/guides/authentication/jwt/with-sdk"},{"title":"JWT without SDKs","href":"/guides/authentication/jwt/without-sdk"},{"title":"as-user header","href":"/guides/authentication/jwt/as-user"},{"title":"User access tokens","href":"/guides/authentication/jwt/user-access-tokens"}]},{"title":"Switch between CCG and JWT","href":"/guides/authentication/switch-server-auth-type"},{"group":"Tokens","root":{"title":"Tokens","sidebarTitle":"Overview","href":"/guides/authentication/tokens/index"},"pages":[{"title":"Access tokens","href":"/guides/authentication/tokens/access-tokens"},{"title":"Use a token","href":"/guides/authentication/tokens/api-calls"},{"title":"Refresh a token","href":"/guides/authentication/tokens/refresh"},{"title":"Revoke a token","href":"/guides/authentication/tokens/revoke"},{"title":"Downscope a token","href":"/guides/authentication/tokens/downscope"},{"title":"Use a token in SDKs","href":"/guides/authentication/tokens/sdks"},{"title":"Developer tokens","href":"/guides/authentication/tokens/developer-tokens"},{"title":"Annotator tokens","href":"/guides/authentication/tokens/annotator-tokens"}]},{"title":"Box API and SSO","sidebarTitle":"Enterprise SSO","href":"/guides/authentication/sso"},{"title":"Authentication best practices","sidebarTitle":"Best practices","href":"/guides/authentication/best-practices"}]},{"group":"Authorization","root":{"title":"Authorization","sidebarTitle":"Overview","href":"/guides/authorization/index"},"pages":[{"title":"Platform app approval","href":"/guides/authorization/platform-app-approval"},{"title":"Limited Access App Approval","href":"/guides/authorization/limited-access-approval"},{"title":"Common Errors","href":"/guides/authorization/common-errors"}]},{"group":"SSO \u0026 App users","root":{"title":"SSO \u0026 App users","href":"/guides/sso-identities-and-app-users/index"},"pages":[{"group":"Connect Okta identities to Box App Users in a web app","root":{"title":"Connect Okta identities to Box App Users in a web app","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/index"},"pages":[{"title":"Scaffold application code (Okta integration)","sidebarTitle":"1. Scaffold application code","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/scaffold-application-code"},{"title":"Configure Okta","sidebarTitle":"2. Configure Okta","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/configure-okta"},{"title":"Configure Box (Okta integration)","sidebarTitle":"3. Configure Box","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/configure-box"},{"title":"Logging into the app with Okta","sidebarTitle":"4. Logging into the app with Okta","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/logging-into-app"},{"title":"Find or create Box app users","sidebarTitle":"5. Find or create Box app users","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/find-or-create-box-users"},{"title":"Run the application","sidebarTitle":"6. Run the application","href":"/guides/sso-identities-and-app-users/connect-okta-to-app-users/run-the-app"}]},{"title":"Connect SSO identities to app users","href":"/guides/sso-identities-and-app-users/connect-identities"},{"title":"Create connection between SSO identity and app user","href":"/guides/sso-identities-and-app-users/create-app-user"},{"title":"Find app user for SSO identity","href":"/guides/sso-identities-and-app-users/find-app-user"}]}]},{"group":"Using the API","pages":[{"title":"API Calls","href":"/guides/api-calls/index"},{"title":"Types and formats","href":"/guides/api-calls/types-and-formats"},{"title":"Status codes","href":"/guides/api-calls/status-codes"},{"title":"Sorting responses","href":"/guides/api-calls/sorting"},{"title":"Request extra fields","href":"/guides/api-calls/request-extra-fields"},{"title":"Ensure consistency with headers","href":"/guides/api-calls/ensure-consistency"},{"title":"Allow domain access","href":"/guides/api-calls/allowing-domain-access"},{"title":"Suppress notifications","href":"/guides/api-calls/suppress-notifications"},{"title":"Language codes","href":"/guides/api-calls/language-codes"},{"title":"API versioning strategy","href":"/guides/api-calls/api-versioning-strategy"},{"group":"Pagination","root":{"title":"Pagination","href":"/guides/api-calls/pagination/index"},"pages":[{"title":"Box API offset-based pagination","sidebarTitle":"Offset-based","href":"/guides/api-calls/pagination/offset-based"},{"title":"Marker-based Pagination","href":"/guides/api-calls/pagination/marker-based"}]},{"group":"Permissions and errors","root":{"title":"Box API errors","sidebarTitle":"Errors","href":"/guides/api-calls/permissions-and-errors/common-errors"},"pages":[{"title":"Box API rate limits","sidebarTitle":"Rate limits","href":"/guides/api-calls/permissions-and-errors/rate-limits"},{"title":"Box API scopes","sidebarTitle":"Scopes","href":"/guides/api-calls/permissions-and-errors/scopes"},{"title":"Token \u0026 URL Expiration","href":"/guides/api-calls/permissions-and-errors/expiration"},{"title":"Versioning errors","href":"/guides/api-calls/permissions-and-errors/versioning-errors"}]}]},{"group":"Troubleshooting","pages":[{"title":"Debugging your Box app","href":"/guides/troubleshooting/debugging-your-box-app"},{"title":"App Diagnostics Report","href":"/guides/troubleshooting/app-diagnostics-report"}]},{"group":"Content","pages":[{"group":"Files","pages":[{"title":"Get File Information","href":"/guides/files/get"},{"title":"File limitations","sidebarTitle":"Limitations","href":"/guides/files/limitations"}]},{"group":"Folders","pages":[{"title":"Create Folder","href":"/guides/folders/single/create"},{"title":"Update Folder","href":"/guides/folders/single/update"},{"title":"Rename Folder","href":"/guides/folders/single/rename"},{"title":"Move Folder","href":"/guides/folders/single/move"},{"title":"Copy Folder","href":"/guides/folders/single/copy"},{"title":"Delete Folder","href":"/guides/folders/single/delete"},{"title":"Change Folder Owner","href":"/guides/folders/single/change-owner"},{"title":"Create Folder Lock","href":"/guides/folders/single/create-lock"},{"title":"Get Folder Lock","href":"/guides/folders/single/get-locks"},{"title":"Delete Folder Lock","href":"/guides/folders/single/delete-lock"},{"title":"Build Folder Tree","href":"/guides/folders/bulk/build-folder-tree"}]},{"group":"Uploads","root":{"title":"Uploads","sidebarTitle":"Overview","href":"/guides/uploads/index"},"pages":[{"title":"Preflight Check","href":"/guides/uploads/check"},{"group":"Direct Uploads","root":{"title":"Direct Uploads","sidebarTitle":"Overview","href":"/guides/uploads/direct/index"},"pages":[{"title":"Upload New File","href":"/guides/uploads/direct/file"},{"title":"Upload File Version","href":"/guides/uploads/direct/file-version"}]},{"group":"Chunked Uploads","root":{"title":"Chunked uploads","sidebarTitle":"Overview","href":"/guides/uploads/chunked/index"},"pages":[{"title":"Create Upload Session","href":"/guides/uploads/chunked/create-session"},{"title":"Chunked Upload with SDKs","href":"/guides/uploads/chunked/with-sdks"},{"title":"Upload part","href":"/guides/uploads/chunked/upload-part"},{"title":"Commit upload session","href":"/guides/uploads/chunked/commit-session"},{"title":"Upload All Files in Folder","href":"/guides/uploads/chunked/folder"}]},{"group":"Tutorials","root":{"title":"Upload methods with Python","href":"/guides/uploads/tutorials/upload-methods-python"},"pages":[{"title":"Recursively upload a folder with Python","href":"/guides/uploads/tutorials/recursive-folder-upload-python"}]}]},{"group":"Downloads","root":{"title":"Downloads","sidebarTitle":"Overview","href":"/guides/downloads/index"},"pages":[{"title":"Download File","href":"/guides/downloads/file"},{"title":"Download File Version","href":"/guides/downloads/file-version"},{"title":"Get Download URL","href":"/guides/downloads/get-url"},{"title":"Download Shared Link","href":"/guides/downloads/shared-link"},{"title":"Download All Files in Folder using SDKs","href":"/guides/downloads/folder"},{"title":"Download in Browser","href":"/guides/downloads/in-browser"},{"title":"Download ZIP Archive","href":"/guides/downloads/zip-archive"}]},{"group":"Web Links","root":{"title":"Web Links","sidebarTitle":"Overview","href":"/guides/web-links/index"},"pages":[{"title":"Create Web Link","href":"/guides/web-links/create"},{"title":"Delete Web Link","href":"/guides/web-links/delete"}]},{"group":"Trash","root":{"title":"Trash","sidebarTitle":"Overview","href":"/guides/trash/index"},"pages":[{"title":"Restore File","href":"/guides/trash/restore-file"},{"title":"Permanently Delete File","href":"/guides/trash/permanently-delete-file"},{"title":"Restore Folder","href":"/guides/trash/restore-folder"},{"title":"Permanently Delete Folder","href":"/guides/trash/permanently-delete-folder"},{"title":"Restore Web Link","href":"/guides/trash/restore-web-link"},{"title":"Permanently Delete Web Link","href":"/guides/trash/permanently-delete-web-link"}]},{"group":"Representations","root":{"title":"Representations","sidebarTitle":"Overview","href":"/guides/representations/index"},"pages":[{"title":"List All Representations for File","href":"/guides/representations/list-all-representations"},{"title":"Request Desired Representation","href":"/guides/representations/request-a-representation"},{"title":"Download File Representation","href":"/guides/representations/download-a-representation"},{"title":"Get Thumbnail Representation","href":"/guides/representations/thumbnail-representation"},{"title":"Get Basic Thumbnail","href":"/guides/representations/thumbnail"},{"title":"Get Markdown Representation","href":"/guides/representations/markdown"},{"title":"Get Text Representation","href":"/guides/representations/text"},{"title":"Get PDF Representation","href":"/guides/representations/pdf"},{"title":"Supported File Types","href":"/guides/representations/supported-file-types"}]},{"group":"Box Archive","root":{"title":"Box Archive","sidebarTitle":"Overview","href":"/guides/archives/index"},"pages":[{"title":"Add content to Box Archive","href":"/guides/archives/add-content"},{"title":"Restore content from Box Archive","href":"/guides/archives/restore-content"},{"title":"Supported APIs for Box Archive","href":"/guides/archives/supported-apis"}]}]},{"group":"Collaboration","pages":[{"group":"Collaborations","root":{"title":"Collaborations","sidebarTitle":"Overview","href":"/guides/collaborations/index"},"pages":[{"group":"Connect Slack to Group Collaborations","root":{"title":"Connect Slack to Box Group Collaborations","href":"/guides/collaborations/connect-slack-to-group-collabs/index"},"pages":[{"title":"Configure Slack","sidebarTitle":"1. Configure Slack","href":"/guides/collaborations/connect-slack-to-group-collabs/configure-slack"},{"title":"Configure Box (Slack integration)","sidebarTitle":"2. Configure Box","href":"/guides/collaborations/connect-slack-to-group-collabs/configure-box"},{"title":"Scaffold application code (Slack integration)","sidebarTitle":"3. Scaffold application code","href":"/guides/collaborations/connect-slack-to-group-collabs/scaffold-application-code"},{"title":"Handle Slack Events","sidebarTitle":"4. Handle Slack Events","href":"/guides/collaborations/connect-slack-to-group-collabs/handle-slack-events"},{"title":"Connect Bot to Box","sidebarTitle":"5. Connect Bot to Box","href":"/guides/collaborations/connect-slack-to-group-collabs/connect-box-functions"},{"title":"Test the bot","sidebarTitle":"6. Test the bot","href":"/guides/collaborations/connect-slack-to-group-collabs/test-bot"}]},{"title":"Share Content with User","href":"/guides/collaborations/share-content"},{"title":"Sharing with Groups","href":"/guides/collaborations/groups"},{"title":"Get Pending Collaborations","href":"/guides/collaborations/pending"},{"group":"Allowed Domains","root":{"title":"Allowed collaboration domains overview","sidebarTitle":"Overview","href":"/guides/collaborations/allowed-domains/index"},"pages":[{"title":"Allow a domain for collaboration","href":"/guides/collaborations/allowed-domains/create"},{"title":"List allowed domains for collaboration","href":"/guides/collaborations/allowed-domains/list"},{"title":"Remove a previously allowed domain for collaboration","href":"/guides/collaborations/allowed-domains/delete"}]}]},{"group":"Shared Links","root":{"title":"Shared Links","sidebarTitle":"Overview","href":"/guides/shared-links/index"},"pages":[{"title":"Create or Update Shared Link","href":"/guides/shared-links/create-or-update"},{"title":"Find Item from Shared Link","href":"/guides/shared-links/find-for-item"},{"title":"Remove Shared Link","href":"/guides/shared-links/remove"},{"title":"Shared Link Permissions","href":"/guides/shared-links/permissions"}]},{"group":"Comments","root":{"title":"Comments","href":"/guides/comments/index"},"pages":[{"title":"Create Comment","href":"/guides/comments/create-comment"},{"title":"Create Reply","href":"/guides/comments/create-reply"}]},{"group":"Tasks","root":{"title":"Tasks","href":"/guides/tasks/index"},"pages":[{"title":"Create a task","href":"/guides/tasks/create"},{"title":"Get information about a task","href":"/guides/tasks/get"},{"title":"Lists all tasks for a file","href":"/guides/tasks/for-file"},{"title":"Make changes to an existing task","href":"/guides/tasks/update"},{"title":"Delete a task","href":"/guides/tasks/delete"},{"group":"Assigning tasks","root":{"title":"Assigning tasks","sidebarTitle":"Overview","href":"/guides/tasks/assignments/index"},"pages":[{"title":"Assign a task to a user","href":"/guides/tasks/assignments/assign"},{"title":"Unassign a task","href":"/guides/tasks/assignments/unassign"},{"title":"Change an assignment's message","href":"/guides/tasks/assignments/update-message"},{"title":"Get task assignment information","href":"/guides/tasks/assignments/get"},{"title":"List a task's assignments","href":"/guides/tasks/assignments/list"},{"title":"Change task assignment state","href":"/guides/tasks/assignments/change-state"}]}]},{"group":"Collections","root":{"title":"Collections","href":"/guides/collections/index"},"pages":[{"title":"List User's Collections","href":"/guides/collections/list"},{"title":"List Items in Collections","href":"/guides/collections/list-items"},{"title":"Add Item to Collection","href":"/guides/collections/add"},{"title":"Remove Item from Collection","href":"/guides/collections/remove"}]},{"group":"File Requests","root":{"title":"File Requests","sidebarTitle":"Overview","href":"/guides/file-requests/index"},"pages":[{"title":"Create a template File Request","href":"/guides/file-requests/template"},{"title":"Copy a File Request","href":"/guides/file-requests/copy"},{"title":"Get information for a File Request","href":"/guides/file-requests/get"},{"title":"Update a File Request","href":"/guides/file-requests/update"},{"title":"Delete a File Request","href":"/guides/file-requests/delete"}]},{"group":"Box Notes","root":{"title":"Box Notes API","sidebarTitle":"Overview","href":"/guides/box-notes/index"},"pages":[{"title":"Get started with Box Notes API","href":"/guides/box-notes/get-started"},{"title":"Convert Markdown to Box Note","href":"/guides/box-notes/convert-markdown"},{"title":"Box Notes API use cases","href":"/guides/box-notes/use-cases"}]},{"group":"Box Hubs","root":{"title":"Box Hubs","href":"/guides/hubs-api/index"},"pages":[{"title":"Turn an enterprise document repository into an access-controlled AI knowledge base","sidebarTitle":"Access-controlled knowledge base","href":"/guides/hubs-api/access-controlled-knowledge-base"},{"title":"Hubs APIs use cases","href":"/guides/hubs-api/use-cases"},{"group":"Hubs","root":{"title":"Create a hub","href":"/guides/hubs-api/hubs/create-hub"},"pages":[{"title":"Get a hub","href":"/guides/hubs-api/hubs/get-hub"},{"title":"List hubs","href":"/guides/hubs-api/hubs/list-hubs"},{"title":"Update a hub","href":"/guides/hubs-api/hubs/update-hub"},{"title":"Delete a hub","href":"/guides/hubs-api/hubs/delete-hub"},{"title":"Copy a hub","href":"/guides/hubs-api/hubs/copy-hub"}]},{"title":"Manage hub items","href":"/guides/hubs-api/hubs-items/hub-items"},{"title":"Manage hub collaborations","href":"/guides/hubs-api/hubs-collaborations/hub-collaborations"}]}]},{"group":"Metadata \u0026 search","pages":[{"group":"Metadata","root":{"sidebarTitle":"Overview","title":"Metadata","href":"/guides/metadata/index"},"pages":[{"group":"Working with Metadata","root":{"title":"Working with Metadata","sidebarTitle":"Overview","href":"/guides/metadata/quick-start/index"},"pages":[{"title":"List all metadata templates (quick start)","sidebarTitle":"1. List all metadata templates","href":"/guides/metadata/quick-start/list-all"},{"title":"Create a custom metadata template","sidebarTitle":"2. Create a custom metadata template","href":"/guides/metadata/quick-start/create-template"},{"title":"Apply metadata to a file","sidebarTitle":"3. Apply metadata to a file","href":"/guides/metadata/quick-start/create-instance"},{"title":"Update metadata on a file","sidebarTitle":"4. Update metadata on a file","href":"/guides/metadata/quick-start/update-instance"},{"title":"Update a metadata template (quick start)","sidebarTitle":"5. Update a metadata template","href":"/guides/metadata/quick-start/update-template"},{"title":"Create a metadata query","sidebarTitle":"6. Create a metadata query","href":"/guides/metadata/quick-start/create-query"},{"title":"Metadata quick start: next steps","sidebarTitle":"Next steps","href":"/guides/metadata/quick-start/next-steps"}]},{"title":"Metadata template scopes","href":"/guides/metadata/scopes"},{"title":"Classifications","href":"/guides/metadata/classifications"},{"group":"Metadata templates","root":{"title":"Metadata templates overview","sidebarTitle":"Overview","href":"/guides/metadata/templates/index"},"pages":[{"title":"List all metadata templates","href":"/guides/metadata/templates/list"},{"title":"Get a metadata template","href":"/guides/metadata/templates/get"},{"title":"Create a metadata template","description":null,"href":"/guides/metadata/templates/create"},{"title":"Update a metadata template","href":"/guides/metadata/templates/update"},{"title":"Delete a metadata template","description":null,"href":"/guides/metadata/templates/delete"}]},{"group":"Metadata taxonomies","root":{"title":"Metadata taxonomies overview","sidebarTitle":"Overview","href":"/guides/metadata/taxonomies/index"},"pages":[{"title":"Create metadata taxonomy items","href":"/guides/metadata/taxonomies/create"},{"title":"List metadata taxonomies","href":"/guides/metadata/taxonomies/list"},{"title":"Get metadata taxonomy items","href":"/guides/metadata/taxonomies/get"},{"title":"Update metadata taxonomies","href":"/guides/metadata/taxonomies/update"},{"title":"Remove metadata taxonomy items","href":"/guides/metadata/taxonomies/remove"}]},{"group":"Metadata fields","root":{"title":"Metadata fields","sidebarTitle":"Overview","href":"/guides/metadata/fields/index"},"pages":[{"title":"String metadata field","href":"/guides/metadata/fields/string"},{"title":"Float metadata field","href":"/guides/metadata/fields/float"},{"title":"Date metadata field","href":"/guides/metadata/fields/date"},{"title":"Enum metadata field","href":"/guides/metadata/fields/enum"},{"title":"Multi Select metadata field","href":"/guides/metadata/fields/multi-select"}]},{"group":"Metadata instances","root":{"title":"Metadata instances overview","sidebarTitle":"Overview","href":"/guides/metadata/instances/index"},"pages":[{"title":"List all metadata on an item","href":"/guides/metadata/instances/list"},{"title":"Get metadata on item","href":"/guides/metadata/instances/get"},{"title":"Apply metadata to an item","href":"/guides/metadata/instances/create"},{"title":"Update metadata on an item","href":"/guides/metadata/instances/update"},{"title":"Remove metadata from an item","href":"/guides/metadata/instances/delete"}]},{"group":"Metadata queries","root":{"title":"Metadata queries","sidebarTitle":"Overview","href":"/guides/metadata/queries/index"},"pages":[{"title":"Create a query","href":"/guides/metadata/queries/create"},{"title":"Query syntax","href":"/guides/metadata/queries/syntax"},{"title":"Query item fields","href":"/guides/metadata/queries/item-fields"},{"title":"Common errors","href":"/guides/metadata/queries/errors"},{"title":"Metadata query limitations","sidebarTitle":"Limitations","href":"/guides/metadata/queries/limitations"},{"title":"Paginate and sort","href":"/guides/metadata/queries/pagination"},{"title":"Comparison to regular search","href":"/guides/metadata/queries/comparison"}]},{"group":"Metadata cascade policies","root":{"title":"Metadata cascade policies overview","sidebarTitle":"Overview","href":"/guides/metadata/cascades/index"},"pages":[{"title":"List metadata cascade policies","href":"/guides/metadata/cascades/list"},{"title":"Get a metadata cascade policy","href":"/guides/metadata/cascades/get"},{"title":"Create a metadata cascade policy","href":"/guides/metadata/cascades/create"},{"title":"Force-apply metadata to all items in a folder","href":"/guides/metadata/cascades/force-apply"},{"title":"Delete a metadata cascade policy","href":"/guides/metadata/cascades/delete"}]}]},{"group":"Query","root":{"title":"Box query","href":"/guides/query/box-query"},"pages":[{"title":"Query insights","href":"/guides/query/insights"}]},{"group":"Search","root":{"title":"Search","sidebarTitle":"Overview","href":"/guides/search/index"},"pages":[{"group":"Search content using metadata","root":{"title":"Search content using metadata","sidebarTitle":"Overview","href":"/guides/search/quick-start/index"},"pages":[{"title":"Create a Metadata Template","sidebarTitle":"1. Create a Metadata Template","href":"/guides/search/quick-start/create-metadata-template"},{"title":"Locate Information about a Metadata Template","sidebarTitle":"2. Locate Information about a Metadata Template","href":"/guides/search/quick-start/locate-template-info"},{"title":"Add Metadata Template to a File","sidebarTitle":"3. Add Metadata Template to a File","href":"/guides/search/quick-start/apply-template-to-file"},{"title":"Use the Metadata Query API","sidebarTitle":"4. Use the Metadata Query API","href":"/guides/search/quick-start/metadata-query-api"},{"title":"Next Steps","sidebarTitle":"5. Next Steps","href":"/guides/search/quick-start/next-steps"}]},{"title":"Search indexing","href":"/guides/search/indexing"},{"title":"Query operators","href":"/guides/search/query-operators"},{"title":"Filter search results","href":"/guides/search/filtering"},{"title":"Search result pagination","sidebarTitle":"Pagination","href":"/guides/search/pagination"},{"title":"Metadata Query Filters","href":"/guides/search/metadata-filters"},{"title":"Enterprise-wide search","href":"/guides/search/enterprise"},{"title":"Searching trash","href":"/guides/search/trash"},{"title":"Finding recent shared links","href":"/guides/search/shared-links"},{"title":"Requesting extra fields","href":"/guides/search/fields"}]}]},{"group":"Events \u0026 webhooks","pages":[{"group":"Events","root":{"title":"Events","href":"/guides/events/index"},"pages":[{"group":"User Events","root":{"title":"User Events","sidebarTitle":"Overview","href":"/guides/events/user-events/index"},"pages":[{"title":"Get User Events","href":"/guides/events/user-events/for-user"},{"title":"Long-Poll Events","href":"/guides/events/user-events/polling"}]},{"group":"Enterprise Events","root":{"title":"Enterprise Events","sidebarTitle":"Overview","href":"/guides/events/enterprise-events/index"},"pages":[{"title":"Get Enterprise Events","href":"/guides/events/enterprise-events/for-enterprise"},{"title":"Migrating From History To Stream","href":"/guides/events/enterprise-events/migrate-to-stream"}]},{"group":"Event Stream Parameters","root":{"title":"Stream Types","href":"/guides/events/parameters/stream-types"},"pages":[{"title":"Stream Position Pagination","href":"/guides/events/parameters/pagination"}]},{"group":"Event Triggers","root":{"title":"Event Triggers","sidebarTitle":"Overview","href":"/guides/events/event-triggers/index"},"pages":[{"title":"Event Source","href":"/guides/events/event-triggers/event-source"},{"title":"AI Security Detection Events","href":"/guides/events/event-triggers/ai-security-detection-events"},{"title":"Shared link one-time passcode events","sidebarTitle":"Shared link OTP events","href":"/guides/events/event-triggers/shared-link-otp-events"},{"title":"Shield Alert Events","href":"/guides/events/event-triggers/shield-alert-events"},{"title":"Shield Information Barrier Events","href":"/guides/events/event-triggers/shield-information-barrier-events"},{"title":"Shield Smart Access Events","href":"/guides/events/event-triggers/shield-smart-access-events"},{"title":"Sign Events","href":"/guides/events/event-triggers/sign-events"}]}]},{"group":"Webhooks","root":{"title":"Webhooks","href":"/guides/webhooks/index"},"pages":[{"title":"Webhook Event Triggers","href":"/guides/webhooks/triggers"},{"group":"V1 Webhooks","root":{"title":"V1 Webhooks","href":"/guides/webhooks/v1/index"},"pages":[{"title":"Create webhooks (v1)","sidebarTitle":"Create webhooks","href":"/guides/webhooks/v1/create-v1"},{"title":"Delete webhooks (v1)","sidebarTitle":"Delete webhooks","href":"/guides/webhooks/v1/delete-v1"}]},{"group":"V2 Webhooks","root":{"title":"V2 webhooks","href":"/guides/webhooks/v2/index"},"pages":[{"title":"List Webhooks for a User","href":"/guides/webhooks/v2/list-v2"},{"title":"Create webhooks (v2)","sidebarTitle":"Create webhooks","href":"/guides/webhooks/v2/create-v2"},{"title":"Update Webhooks","href":"/guides/webhooks/v2/update-v2"},{"title":"Delete webhooks (v2)","sidebarTitle":"Delete webhooks","href":"/guides/webhooks/v2/delete-v2"},{"title":"Verify Box webhook signatures","href":"/guides/webhooks/v2/signatures-v2"},{"title":"Webhook limitations","sidebarTitle":"Limitations","href":"/guides/webhooks/v2/limitations-v2"}]}]}]},{"group":"Users","pages":[{"title":"Users in Box API","href":"/guides/users/index"},{"title":"Create Managed User","href":"/guides/users/create-managed-user"},{"title":"Create App User","href":"/guides/users/create-app-user"},{"title":"Delete User","href":"/guides/users/delete-user"},{"title":"Bulk delete external users","href":"/guides/users/bulk-delete-external-users"},{"group":"Provision Users","root":{"title":"Provision Users","sidebarTitle":"Overview","href":"/guides/users/provision/index"},"pages":[{"title":"Create Architecture Skeleton","href":"/guides/users/provision/architecture"},{"title":"Populate Content","href":"/guides/users/provision/populate-content"},{"title":"Setup Shared Folders","href":"/guides/users/provision/shared-folders"}]},{"group":"Deprovision Users","root":{"title":"Deprovision Users","sidebarTitle":"Overview","href":"/guides/users/deprovision/index"},"pages":[{"title":"Transfer Files \u0026 Folders","href":"/guides/users/deprovision/transfer-folders"}]}]},{"group":"Intelligent workflow","pages":[{"title":"Intelligent workflow with Box","href":"/guides/intelligent-workflow/index"},{"group":"Box Automate","root":{"title":"Box Automate","sidebarTitle":"Overview","href":"/guides/box-automate/index"},"pages":[{"title":"Get started with Box Automate","sidebarTitle":"Get started","href":"/guides/box-automate/getting-started-box-automate"},{"title":"Triggers, outcomes, and logic in Box Automate","sidebarTitle":"Triggers and logic","href":"/guides/box-automate/triggers-and-logic"}]},{"group":"Box Doc Gen","root":{"title":"Box Doc Gen","sidebarTitle":"Overview","href":"/guides/docgen/index"},"pages":[{"title":"Get started with Box Doc Gen","href":"/guides/docgen/docgen-getting-started"},{"title":"Mark file as Box Doc Gen template","href":"/guides/docgen/mark-template"},{"title":"Generate documents","href":"/guides/docgen/generate-document"},{"title":"Box Doc Gen templates","href":"/guides/docgen/docgen-templates"},{"title":"Box Doc Gen jobs","href":"/guides/docgen/docgen-jobs"},{"title":"Box Doc Split","href":"/guides/docgen/doc-split"},{"title":"Manual split","href":"/guides/docgen/manual-split"},{"title":"Smart split","href":"/guides/docgen/smart-split"}]},{"group":"Box Relay","root":{"title":"Box Relay","sidebarTitle":"Overview","href":"/guides/box-relay/index"},"pages":[{"title":"Get Workflows","href":"/guides/box-relay/get-workflows"},{"title":"Start Workflow","href":"/guides/box-relay/start-workflow"}]}]},{"group":"E-signatures","pages":[{"title":"Box Sign","href":"/guides/box-sign/index"},{"title":"Set up Box Sign","sidebarTitle":"Setup","href":"/guides/box-sign/setup"},{"title":"Quick start","sidebarTitle":"Quick start","href":"/guides/box-sign/quick-start"},{"group":"Document types","root":{"sidebarTitle":"Overview","title":"Document types","href":"/guides/box-sign/document-types/index"},"pages":[{"title":"Signing unstructured docs","sidebarTitle":"Unstructured","href":"/guides/box-sign/document-types/unstructured"},{"title":"Signing structured docs","sidebarTitle":"Structured","href":"/guides/box-sign/document-types/structured"},{"title":"Create a sign request with a template","sidebarTitle":"Templates","href":"/guides/box-sign/document-types/sign-templates"}]},{"group":"Create and configure","root":{"title":"Create a Box Sign request","sidebarTitle":"Create a request","href":"/guides/box-sign/create-sign-request"},"pages":[{"title":"Multiple signers and signing order","sidebarTitle":"Multiple signers","href":"/guides/box-sign/multiple-signers"},{"title":"Verify signer identity","sidebarTitle":"Signer verification","href":"/guides/box-sign/signer-verification"},{"title":"In-person signing","sidebarTitle":"In-person signing","href":"/guides/box-sign/in-person-signing"},{"title":"21 CFR Part 11 requests","sidebarTitle":"21 CFR Part 11","href":"/guides/box-sign/cfr-part-11"},{"title":"Deliver the request to signers","sidebarTitle":"Deliver to signers","href":"/guides/box-sign/how-signers-get-the-request"}]},{"group":"Manage requests","root":{"title":"List and get Box Sign requests","sidebarTitle":"List and get requests","href":"/guides/box-sign/list-sign-requests"},"pages":[{"title":"Resend a Box Sign request","sidebarTitle":"Resend a request","href":"/guides/box-sign/resend-sign-request"},{"title":"Cancel a Box Sign request","sidebarTitle":"Cancel a request","href":"/guides/box-sign/cancel-sign-request"},{"title":"Box Sign webhooks","sidebarTitle":"Webhooks","href":"/guides/box-sign/webhooks"}]},{"group":"Reference","root":{"title":"Box Sign endpoints","sidebarTitle":"Endpoints","href":"/guides/box-sign/api-endpoints"},"pages":[{"title":"Box Sign request status","sidebarTitle":"Request status","href":"/guides/box-sign/request-status"}]}]},{"group":"Security \u0026 compliance","pages":[{"group":"Security","root":{"title":"Security","sidebarTitle":"Overview","href":"/guides/security/index"},"pages":[{"title":"FedRAMP","href":"/guides/security/fedramp"},{"title":"Device Pinners","href":"/guides/security/device-pinners"},{"title":"Cross-Origin Resource Sharing (CORS)","href":"/guides/security/cors"},{"group":"Terms of Service","root":{"title":"Terms of Service","sidebarTitle":"Overview","href":"/guides/security/terms-of-service/index"},"pages":[{"title":"Application Flow","href":"/guides/security/terms-of-service/flow"},{"title":"Find Terms for Collaboration","href":"/guides/security/terms-of-service/for-colaboration"},{"title":"Permissions","href":"/guides/security/terms-of-service/permissions"}]}]},{"group":"Legal Holds","root":{"title":"Legal Holds","sidebarTitle":"Overview","href":"/guides/legal-holds/index"},"pages":[{"title":"List All Legal Hold Policies","href":"/guides/legal-holds/list"},{"title":"Get Legal Hold Policy","href":"/guides/legal-holds/get"}]},{"group":"Retention Policies","root":{"title":"Retention Policies","sidebarTitle":"Overview","href":"/guides/retention-policies/index"},"pages":[{"title":"List All Retention Policies","href":"/guides/retention-policies/list"},{"title":"Get Retention Policy","href":"/guides/retention-policies/get"}]}]}]},{"tab":"AI","pages":[{"title":"AI","href":"/ai"}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/reference"}]},{"tab":"Tools","pages":[{"title":"Tools","href":"/sdks-and-tools"}]},{"tab":"Tutorials","pages":[{"title":"Tutorials","href":"/tutorials"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog/2026"}]}],"global":{"anchors":[{"anchor":"Box","icon":"https://mintlify.s3.us-west-1.amazonaws.com/box/images/sidebar/box.svg","href":"https://www.box.com/home"},{"anchor":"Community","icon":"book-open-cover","href":"https://community.box.com/box-platform-5"},{"anchor":"Developer Blog","icon":"newspaper","href":"https://blog.box.com/developer"},{"anchor":"Box SDKs","icon":"code","href":"https://github.com/box/sdks"},{"anchor":"Box Docs","icon":"file-lines","href":"https://docs.box.com"}]}},{"language":"ja","banner":{"content":"Join BoxWorks Dev Summit on Nov 5-6, San Francisco and dive into AI agents and unstructured content. [See agenda](https://boxworks.box.com/series/boxworks-2026-dev-summit/landing_page).","dismissible":true},"footer":{"socials":{"x":"https://x.com/box","github":"https://github.com/box-community","linkedin":"https://linkedin.com/company/box","youtube":"https://www.youtube.com/user/box","facebook":"https://www.facebook.com/box"},"links":[{"header":"リソース","items":[{"label":"ニュースレターの登録解除","href":"https://go.box.com/preferences.html"},{"label":"利用規約","href":"https://cloud.app.box.com/s/rmwxu64h1ipr41u49w3bbuvbsa29wku9"},{"label":"個人情報保護方針","href":"https://www.box.com/en-gb/legal/privacypolicy?url_redirect=direct"},{"label":"Cookieに関する通知","href":"https://www.box.com/en-gb/legal/cookie-notification?url_redirect=direct"},{"label":"llms.txt","href":"https://developer.box.com/llms.txt"}]}]},"navbar":{"links":[{"href":"https://account.box.com/developers/console","label":"ログイン","type":"button"}],"primary":{"type":"button","label":"今すぐ無料で開始","href":"https://account.box.com/signup/developer"}},"pages":[{"title":"ja","href":"/ja/guides/metadata/templates/update"}]}]},"basePath":"","title":"Update a metadata template - Box Dev Docs","buildId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","deploymentId":"dpl_8LJbrAiZvr1K98WQNZXCyY5AvT34","dynamics":["10e4515597"],"chunks":["BannerMarkdown-BcDCEkh6.js","dist-CwjSCXIK.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-eKJ4rcii.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}