Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Axle","colors":{"primary":"#3F3F46","light":"#D4D4D8","dark":"#27272A"},"logo":{"light":"https://mintcdn.com/axle/enJXHO5JjjypOw69/logo/light.svg?fit=max\u0026auto=format\u0026n=enJXHO5JjjypOw69\u0026q=85\u0026s=62b3826a6d7c78b1f559063f2c2d3f00","dark":"https://mintcdn.com/axle/enJXHO5JjjypOw69/logo/dark.svg?fit=max\u0026auto=format\u0026n=enJXHO5JjjypOw69\u0026q=85\u0026s=b60a327c63083ec273936a7cb95a2759"},"favicon":"https://mintcdn.com/axle/jvr_RjEwsLPkmitD/favicon-lg.png?fit=max\u0026auto=format\u0026n=jvr_RjEwsLPkmitD\u0026q=85\u0026s=2fcaf929965104a4df7633dd76b9325a","api":{"openapi":"openapi.yaml","mdx":{"server":["https://api.axle.insure","https://sandbox.axle.insure"]}},"appearance":{"default":"light"},"background":{"color":{"dark":"#121212"}},"navbar":{"links":[{"href":"https://status.axle.insure","label":"Status"},{"href":"https://www.ycombinator.com/companies/axle/jobs","label":"We're hiring!"}],"primary":{"type":"button","label":"Get Started","href":"https://www.axle.insure/contact"}},"footer":{"socials":{"x":"https://x.com/axlelabs","linkedin":"https://www.linkedin.com/company/axle-labs","website":"https://www.axle.insure/"}},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Get Started","icon":"rocket-launch","href":"https://www.axle.insure/contact"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"axle","hasAudioNarration":false,"actualSubdomain":"axle","customDomains":["docs.axle.insure"],"gitSource":{"type":"github","owner":"axle-labs","repo":"axle","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae36eb5b3f002741c1a9b3c","collectionId":"e7ca1e81-cddb-4eb0-89da-cdf50c0ad9ff","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae36eb5b3f002741c1a9b3c"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae36eb5b3f002741c1a9b3c","clientVersion":"0.0.4067","searchFilterCounts":[{"language":"default","tag":"Documentation","count":51},{"language":"default","tag":"API Reference","count":30},{"language":"default","tag":"Guides","count":17},{"language":"default","tag":"Validation","count":6},{"language":"default","tag":"Policies","count":5},{"language":"default","tag":"Sandbox","count":5},{"language":"default","tag":"Axle Ignition","count":5},{"language":"default","tag":"Templates","count":4},{"language":"default","tag":"Webhooks","count":4},{"language":"default","tag":"Platform","count":3}]},"assistantConfig":{"deflection":{"enabled":true,"email":"support@axle.insure","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[{"filePath":"styles.css","content":"@font-face{font-family:\"Suisse Intl\";src:url(https://uploads-ssl.webflow.com/62c9a8ebe81984320aaa6d60/63870e3e7d02c82500d5b032_SuisseIntl-Regular.woff2)\n format(\"woff2\"),\n url(https://uploads-ssl.webflow.com/62c9a8ebe81984320aaa6d60/63870e3e7d02c82500d5b032_SuisseIntl-Regular.woff)\n format(\"woff\");font-weight:300;font-style:normal}@font-face{font-family:\"Suisse Intl\";src:url(https://uploads-ssl.webflow.com/62c9a8ebe81984320aaa6d60/63870ec9d6797e86085b84fa_SuisseIntl-SemiBold.woff2)\n format(\"woff2\"),\n url(https://uploads-ssl.webflow.com/62c9a8ebe81984320aaa6d60/63870ec9d6797e86085b84fa_SuisseIntl-SemiBold.woff)\n format(\"woff\");font-weight:600;font-style:normal}body{font-family:\"Suisse Intl\", \"Helvetica\", \"Arial\", sans-serif;font-feature-settings:\"salt\";-o-font-feature-settings:\"salt\";-moz-font-feature-settings:\"salt\";-webkit-font-feature-settings:\"salt\"}.axle-chips{display:inline-flex;flex-wrap:wrap;gap:6px;margin:0 0 4px}.axle-chip{display:inline-flex;align-items:center;padding:2px 8px;border-radius:6px;font-size:0.75rem;font-weight:600;line-height:1.5;letter-spacing:0.01em}.axle-chip.all{background:#eef2f6;color:#475569}.axle-chip.auto{background:#e6eefe;color:#1d4ed8}.axle-chip.home{background:#e7f6ec;color:#15803d}.axle-chip.condo{background:#f1ecfd;color:#6d28d9}.axle-chip.planned,.axle-chip.research{--chip-icon: none}.axle-chip.planned::before,.axle-chip.research::before{content:\"\";flex:none;width:12px;height:12px;margin-right:4px;background-color:currentColor;-webkit-mask:var(--chip-icon) no-repeat center / contain;mask:var(--chip-icon) no-repeat center / contain}.axle-chip.planned{background:#fef3c7;color:#b45309;--chip-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E\")}.axle-chip.research{background:#ccfbf1;color:#0f766e;--chip-icon: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 2v7.527a2 2 0 0 1-.211.896L4.72 20.55a1 1 0 0 0 .9 1.45h12.76a1 1 0 0 0 .9-1.45l-5.069-10.127A2 2 0 0 1 14 9.527V2'/%3E%3Cpath d='M8.5 2h7'/%3E%3Cpath d='M7 16h10'/%3E%3C/svg%3E\")}.dark .axle-chip.all{background:rgba(148, 163, 184, 0.18);color:#cbd5e1}.dark .axle-chip.auto{background:rgba(59, 130, 246, 0.20);color:#93c5fd}.dark .axle-chip.home{background:rgba(34, 197, 94, 0.18);color:#86efac}.dark .axle-chip.condo{background:rgba(139, 92, 246, 0.20);color:#c4b5fd}.dark .axle-chip.planned{background:rgba(245, 158, 11, 0.18);color:#fcd34d}.dark .axle-chip.research{background:rgba(20, 184, 166, 0.20);color:#5eead4}"}],"page":{"pagePath":"api-reference/validation/templates/update-template","slug":"/api-reference/validation/templates/update-template","pageMetadata":{"openapi":"POST /validation/templates/{templateId}","title":"Update Template","description":"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided `clientId` or `destinationId`.","href":"/api-reference/validation/templates/update-template"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided \", _jsx(_components.code, {\n children: \"clientId\"\n }), \" or \", _jsx(_components.code, {\n children: \"destinationId\"\n }), \".\"]\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"openapi":"POST /validation/templates/{templateId}","title":"Update Template","description":"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided `clientId` or `destinationId`.","href":"/api-reference/validation/templates/update-template"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Update Template","description":"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided `clientId` or `destinationId`.","operationId":"UpdateTemplate","parameters":["a12398c9-0b49-4248-944d-302ef1c8f310","d9979558-a5e7-438d-8317-c3332e63923e"],"requestBody":"da323adf-a496-4a2b-8aa1-2ece7a93fd78","responses":{"200":"4ffffa4d-5f74-40d3-bc71-92c91a8f5252","400":"0000a882-0ba7-4de1-ae54-7632e842dede","404":"61434777-2d3a-4436-a152-5362463daeb3","429":"684e6c04-b06a-4ff0-9808-c52f51d3caa7"},"deprecated":false,"tags":["Templates"],"method":"post","type":"path","servers":["ca3700b0-553c-46da-b132-7bc9fd2e1915","d0f63b60-8fd1-44b5-b8ca-5b3e86116fc6"],"security":["af7a6590-981f-4d06-8dfc-1b6a6d6057cd"],"path":"/validation/templates/{templateId}","baseUrlOptions":["https://sandbox.axle.insure","https://api.axle.insure"],"title":"Update Template","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a12398c9-0b49-4248-944d-302ef1c8f310":{"name":"x-client-id","in":"header","required":true,"schema":{"type":"string","isRequired":true,"description":"Your client ID. This will be shared with you during onboarding.","uniqueKey":"","typeLabel":"string"},"description":"Your client ID. This will be shared with you during onboarding."},"d9979558-a5e7-438d-8317-c3332e63923e":{"name":"x-destination-client-id","in":"header","required":false,"schema":{"type":"string","isRequired":false,"description":"The client ID of the destination client. This is optional and only used by platform clients. See the [Axle for Platforms](/guides/platform-integration) guide for more information.","uniqueKey":"","typeLabel":"string"},"description":"The client ID of the destination client. This is optional and only used by platform clients. See the [Axle for Platforms](/guides/platform-integration) guide for more information."},"4684eda4-ee44-4ed1-8cef-5ce8d7857c89":{"name":"templateId","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The unique ID of the Validation template to evaluate against the policy, in the format `tmp_...`. Returned by Create Template and Get Templates.","uniqueKey":"","typeLabel":"string"},"description":"The unique ID of the Validation template to evaluate against the policy, in the format `tmp_...`. Returned by Create Template and Get Templates."}},"requestBody":{"description":"","content":{"application/json":{"schema":{"description":"","type":"object","properties":{"displayName":{"type":"string","description":"User friendly name of the template.","isRequired":true,"uniqueKey":"displayName","typeLabel":"string"},"rules":{"type":"array","description":"A list of Rules to perform on the policy object.","items":{"oneOf":[{"type":"object","title":"Rule With No Input","required":["rule"],"properties":{"rule":{"type":"string","enum":["policy-active","rental-covered-for-collision"],"isRequired":true,"uniqueKey":"rules.items.[INDEX].oneOf.0.rule","typeLabel":"enum\u003cstring>"}},"uniqueKey":"rules.items.[INDEX].oneOf.0","typeLabel":"Rule With No Input · object"},{"type":"object","title":"Rule With Input","required":["rule","input"],"properties":{"rule":{"type":"string","enum":["collision-coverage-meets-requirements","comprehensive-coverage-meets-requirements","bodily-injury-coverage-meets-requirements","property-damage-coverage-meets-requirements","dwelling-coverage-meets-requirements","uninsured-underinsured-bi-coverage-meets-requirements","uninsured-underinsured-pd-coverage-meets-requirements","expiration-date-comparison","insureds-match","properties-match","address-match","required-policy-information-is-present","vehicle-use-meets-requirements","third-party-matches"],"isRequired":true,"uniqueKey":"rules.items.[INDEX].oneOf.1.rule","typeLabel":"enum\u003cstring>"},"input":{"type":"object","description":"Input configuration to evaluate the rule. See [Supported Rules](/guides/policy-validation#supported-rules) for details on which Rules require additional input.","properties":{"inputKey":{"type":"object","description":"The inputKey is the key corresponding to the Rule input, e.g., \"vin\" or \"deductible\".","properties":{"source":{"type":"string","description":"The key used to look up this input's value at evaluation time. Axle resolves the value by checking (in order of priority):\n\n1. The `metadata` object passed in the [Validate Policy with Template](/api-reference/validation/templates/validate-policy-template) request body.\n2. The `metadata` object via [Start Ignition](/api-reference/ignition/start-ignition).\n3. The `default` value defined on this input (if set).\n\nFor example, if `source` is `\"maxDeductible\"`, Axle will look for a key named `maxDeductible` in the metadata objects above.","isRequired":true,"uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.source","typeLabel":"string"},"default":{"oneOf":[{"type":"string","description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.0","typeLabel":"string"},{"type":"number","description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.3.items.[INDEX]","typeLabel":"any"},"description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.3","typeLabel":"any[]"}],"uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey.default","typeLabel":"string | number | boolean | any[]"}},"required":["source"],"uniqueKey":"rules.items.[INDEX].oneOf.1.input.inputKey","typeLabel":"object"}},"isRequired":true,"uniqueKey":"rules.items.[INDEX].oneOf.1.input","typeLabel":"object"}},"uniqueKey":"rules.items.[INDEX].oneOf.1","typeLabel":"Rule With Input · object"}],"uniqueKey":"rules.items.[INDEX]","typeLabel":"Rule With No Input · object | Rule With Input · object"},"isRequired":true,"uniqueKey":"rules","typeLabel":"(Rule With No Input · object | Rule With Input · object)[]"},"metadata":{"type":"object","description":"Optional object to store custom information about the template. If provided, this value is returned in [Get Template](/api-reference/validation/templates/get-template) and [Get Templates](/api-reference/validation/templates/get-templates) responses.","uniqueKey":"metadata","typeLabel":"object"}},"required":["displayName","rules"],"uniqueKey":"","typeLabel":"object"},"example":{"displayName":"Overwrite Template","rules":[{"rule":"policy-active"}],"metadata":{"locationId":"123"}},"examples":{"Example":{"title":"Example","value":{"displayName":"Overwrite Template","rules":[{"rule":"policy-active"}],"metadata":{"locationId":"123"}}}},"exampleType":"examples"}},"required":true,"exampleType":"examples"},"responses":{"4ffffa4d-5f74-40d3-bc71-92c91a8f5252":{"headers":{"x-axle-request-id":{"description":"A unique identifier generated per request. Include this value when contacting Axle support to help us locate your exact request.","schema":{"type":"string"},"example":"req_V1StGXR8_Z5jdHi6B-myT"}},"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"title":"Success","type":"boolean","description":"Indicates whether the operation was performed successfully.","x-internal":false,"example":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"title":"ValidationConfig","type":"object","example":{"id":"tmp_jsK9vrCIfABlCW7PqIknc","displayName":"Example Template","createdAt":"2025-06-10T13:57:22.300Z","modifiedAt":"2025-06-10T13:57:22.300Z","rules":[{"rule":"policy-active"},{"rule":"collision-coverage-meets-requirements","input":{"deductible":{"source":"maxDeductible","default":"500"}}}],"metadata":{"locationId":"123"}},"properties":{"id":{"type":"string","description":"The unqiue identifier of the Validation template. You'll use this to make requests to the [Validate Policy with Template](/api-reference/validation/templates/validate-policy-template) endpoint.","isRequired":true,"uniqueKey":"data.id","typeLabel":"string"},"displayName":{"type":"string","description":"User friendly name of the template.","isRequired":true,"uniqueKey":"data.displayName","typeLabel":"string"},"createdAt":{"type":"string","description":"ISO 8601 timestamp at which the Validation template was created.","isRequired":true,"uniqueKey":"data.createdAt","typeLabel":"string"},"modifiedAt":{"type":"string","description":"ISO 8601 timestamp at which the Validation template was last modified.","isRequired":true,"uniqueKey":"data.modifiedAt","typeLabel":"string"},"rules":{"type":"array","description":"List of rules to be evaluated against the Policy object.","items":{"oneOf":[{"type":"object","title":"Rule With No Input","required":["rule"],"properties":{"rule":{"type":"string","enum":["policy-active","rental-covered-for-collision"],"isRequired":true,"uniqueKey":"data.rules.items.[INDEX].oneOf.0.rule","typeLabel":"enum\u003cstring>"}},"uniqueKey":"data.rules.items.[INDEX].oneOf.0","typeLabel":"Rule With No Input · object"},{"type":"object","title":"Rule With Input","required":["rule","input"],"properties":{"rule":{"type":"string","enum":["collision-coverage-meets-requirements","comprehensive-coverage-meets-requirements","bodily-injury-coverage-meets-requirements","property-damage-coverage-meets-requirements","dwelling-coverage-meets-requirements","uninsured-underinsured-bi-coverage-meets-requirements","uninsured-underinsured-pd-coverage-meets-requirements","expiration-date-comparison","insureds-match","properties-match","address-match","required-policy-information-is-present","vehicle-use-meets-requirements","third-party-matches"],"isRequired":true,"uniqueKey":"data.rules.items.[INDEX].oneOf.1.rule","typeLabel":"enum\u003cstring>"},"input":{"type":"object","description":"Input configuration to evaluate the rule. See [Supported Rules](/guides/policy-validation#supported-rules) for details on which Rules require additional input.","properties":{"inputKey":{"type":"object","description":"The inputKey is the key corresponding to the Rule input, e.g., \"vin\" or \"deductible\".","properties":{"source":{"type":"string","description":"The key used to look up this input's value at evaluation time. Axle resolves the value by checking (in order of priority):\n\n1. The `metadata` object passed in the [Validate Policy with Template](/api-reference/validation/templates/validate-policy-template) request body.\n2. The `metadata` object via [Start Ignition](/api-reference/ignition/start-ignition).\n3. The `default` value defined on this input (if set).\n\nFor example, if `source` is `\"maxDeductible\"`, Axle will look for a key named `maxDeductible` in the metadata objects above.","isRequired":true,"uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.source","typeLabel":"string"},"default":{"oneOf":[{"type":"string","description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.0","typeLabel":"string"},{"type":"number","description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.1","typeLabel":"number"},{"type":"boolean","description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.2","typeLabel":"boolean"},{"type":"array","items":{"oneOf":[{}],"uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.3.items.[INDEX]","typeLabel":"any"},"description":"Fallback value used when the `source` key is not found in either the request body metadata or the Ignition session metadata. If no `default` is provided and the key is not found, the rule will be evaluated without this input.","uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.default.oneOf.3","typeLabel":"any[]"}],"uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey.default","typeLabel":"string | number | boolean | any[]"}},"required":["source"],"uniqueKey":"data.rules.items.[INDEX].oneOf.1.input.inputKey","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data.rules.items.[INDEX].oneOf.1.input","typeLabel":"object"}},"uniqueKey":"data.rules.items.[INDEX].oneOf.1","typeLabel":"Rule With Input · object"}],"uniqueKey":"data.rules.items.[INDEX]","typeLabel":"Rule With No Input · object | Rule With Input · object"},"isRequired":true,"uniqueKey":"data.rules","typeLabel":"(Rule With No Input · object | Rule With Input · object)[]"},"metadata":{"type":"object","description":"Custom information stored on the template, if provided when the template was created or updated via [Create Template](/api-reference/validation/templates/create-template), [Create Platform Template](/api-reference/platform/create-templates), or [Update Template](/api-reference/validation/templates/update-template).","uniqueKey":"data.metadata","typeLabel":"object"}},"required":["id","displayName","rules","createdAt","modifiedAt"],"description":"Updated validation template object for client.","uniqueKey":"data","typeLabel":"ValidationConfig · object"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":true,"data":{"id":"tmp_jsK9vrCIfABlCW7PqIknc","displayName":"Overwrite Template","createdAt":"2025-06-10T13:57:22.300Z","modifiedAt":"2025-06-10T14:30:00.000Z","rules":[{"rule":"policy-active"}],"metadata":{"locationId":"123"}}},"examples":{"Example":{"title":"Example","value":{"success":true,"data":{"id":"tmp_jsK9vrCIfABlCW7PqIknc","displayName":"Overwrite Template","createdAt":"2025-06-10T13:57:22.300Z","modifiedAt":"2025-06-10T14:30:00.000Z","rules":[{"rule":"policy-active"}],"metadata":{"locationId":"123"}}}}},"exampleType":"examples"}},"exampleType":"examples"},"0000a882-0ba7-4de1-ae54-7632e842dede":{"headers":{"x-axle-request-id":{"description":"A unique identifier generated per request. Include this value when contacting Axle support to help us locate your exact request.","schema":{"type":"string"},"example":"req_V1StGXR8_Z5jdHi6B-myT"}},"description":"The request body is invalid. See the error message for details.","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","example":false,"uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","example":"Input validation failed due to one or more missing or invalid parameters. Review the request and try again.","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Input validation failed due to one or more missing or invalid parameters. Review the request and try again."}}},"exampleType":"generated"}},"exampleType":"generated"},"61434777-2d3a-4436-a152-5362463daeb3":{"headers":{"x-axle-request-id":{"description":"A unique identifier generated per request. Include this value when contacting Axle support to help us locate your exact request.","schema":{"type":"string"},"example":"req_V1StGXR8_Z5jdHi6B-myT"}},"description":"Requested entity or resource not found.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Requested entity not found","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Requested entity not found"}}},"exampleType":"generated"}},"exampleType":"generated"},"684e6c04-b06a-4ff0-9808-c52f51d3caa7":{"headers":{"x-axle-request-id":{"description":"A unique identifier generated per request. Include this value when contacting Axle support to help us locate your exact request.","schema":{"type":"string"},"example":"req_V1StGXR8_Z5jdHi6B-myT"}},"description":"Rate limit exceeded. This is only to protect Axle systems against errant or abnormal request volume. The limit is sufficiently high for all normal usage.","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string","example":"Too Many Requests","isRequired":true,"uniqueKey":"message","typeLabel":"string"}},"required":["message"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"message":"Too Many Requests"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"af7a6590-981f-4d06-8dfc-1b6a6d6057cd":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-client-secret","description":"Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.","scopes":[],"schemeName":"ApiKeyAuth"}}},"servers":{"ca3700b0-553c-46da-b132-7bc9fd2e1915":{"description":"Sandbox","url":"https://sandbox.axle.insure"},"d0f63b60-8fd1-44b5-b8ca-5b3e86116fc6":{"description":"Production","url":"https://api.axle.insure","variables":{}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"x-client-secret","description":"Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.","scopes":[],"schemeName":"ApiKeyAuth"},"schema":{"title":"x-client-secret","type":"string","description":"Your secret API key. This will be shared with you during onboarding and should be considered sensitive - it’s a password after all! Your secret will be matched with your client ID to authenticate your requests.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyAuth","name":"x-client-secret"}],"title":"ApiKeyAuth"}]},"originalFileLocation":"openapi.yaml"},"subdomain":"axle","siteName":"Axle","title":"Update Template - Axle","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-08-25T13:05:39.428Z","originalFileLocation":"api-reference/validation/templates/update-template.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"light\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided clientId or destinationId.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Axle\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_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/axle/DXTH79GIjAle_zmy/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Template - Axle\">\u003cmeta data-mint-head property=\"og:description\" content=\"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided clientId or destinationId.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Axle\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.axle.insure/api-reference/validation/templates/update-template\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://axle.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Update+Template\u0026amp;description=The+Update+Template+endpoint+updates+a+Template+object.+This+endpoint+will+upsert+template+for+provided+%60clientId%60+or+%60destinationId%60.\u0026amp;theme=89b4b8c22e9e1c87b956c02e\u0026amp;signature=2f6aa54a59763ad13302ca94d639e4d02929143484cbbdd4c08daa8ceebf0d54\">\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 Template - Axle\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided clientId or destinationId.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://axle.mintlify.app/_mintlify/api/og/v2?division=Templates\u0026amp;title=Update+Template\u0026amp;description=The+Update+Template+endpoint+updates+a+Template+object.+This+endpoint+will+upsert+template+for+provided+%60clientId%60+or+%60destinationId%60.\u0026amp;theme=89b4b8c22e9e1c87b956c02e\u0026amp;signature=2f6aa54a59763ad13302ca94d639e4d02929143484cbbdd4c08daa8ceebf0d54\">\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/axle/DXTH79GIjAle_zmy/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Axle\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#3F3F46\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.axle.insure/api-reference/validation/templates/update-template\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/validation/templates/update-template.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.axle.insure/#organization\",\"name\":\"Axle\",\"url\":\"https://docs.axle.insure\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/axle/enJXHO5JjjypOw69/logo/light.svg?fit=max\u0026auto=format\u0026n=enJXHO5JjjypOw69\u0026q=85\u0026s=62b3826a6d7c78b1f559063f2c2d3f00\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.axle.insure#website\",\"name\":\"Axle\",\"url\":\"https://docs.axle.insure\",\"publisher\":{\"@id\":\"https://docs.axle.insure/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.axle.insure/api-reference/validation/templates/update-template#webpage\",\"url\":\"https://docs.axle.insure/api-reference/validation/templates/update-template\",\"name\":\"Update Template\",\"description\":\"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided clientId or destinationId.\",\"dateModified\":\"2026-08-25T13:05:39.428Z\",\"isPartOf\":{\"@id\":\"https://docs.axle.insure#website\"},\"breadcrumb\":{\"@id\":\"https://docs.axle.insure/api-reference/validation/templates/update-template#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.axle.insure/api-reference/validation/templates/update-template#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"API Reference\",\"item\":\"https://docs.axle.insure/api-reference/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Validation\",\"item\":\"https://docs.axle.insure/api-reference/validation/validate-policy\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Templates\",\"item\":\"https://docs.axle.insure/api-reference/validation/templates/create-template\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Update Template\",\"item\":\"https://docs.axle.insure/api-reference/validation/templates/update-template\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.axle.insure/api-reference/validation/templates/update-template#apireference\",\"headline\":\"Update Template\",\"name\":\"Update Template\",\"description\":\"The Update Template endpoint updates a Template object. This endpoint will upsert template for provided clientId or destinationId.\",\"url\":\"https://docs.axle.insure/api-reference/validation/templates/update-template\",\"mainEntityOfPage\":{\"@id\":\"https://docs.axle.insure/api-reference/validation/templates/update-template#webpage\"},\"dateModified\":\"2026-08-25T13:05:39.428Z\",\"publisher\":{\"@id\":\"https://docs.axle.insure/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.axle.insure#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Axle\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Axle","nav":{"global":{"anchors":[{"anchor":"Get Started","icon":"rocket-launch","href":"https://www.axle.insure/contact"}]},"tabs":[{"tab":"Documentation","groups":[{"group":"Home","pages":[{"title":"Welcome","href":"/welcome"},{"title":"Security","href":"/security"},{"title":"Changelog","href":"/changelog"}]},{"group":"Guides","pages":[{"title":"Quickstart","href":"/guides/quickstart"},{"group":"Axle Ignition","pages":[{"title":"Initialize","href":"/guides/initialize-ignition"},{"title":"Proxy","href":"/guides/proxy-ignition"},{"title":"Events","href":"/guides/ignition-events"},{"title":"Results","href":"/guides/completion-types"},{"title":"Optimizing conversion with Axle Ignition","sidebarTitle":"Optimizing conversion","href":"/guides/optimizing-ignition-conversion"}]},{"title":"Axle for Platforms","href":"/guides/platform-integration"},{"group":"Monitoring","pages":[{"title":"Overview","href":"/guides/monitoring"},{"title":"Account events","href":"/guides/account-events"},{"title":"Policy events","href":"/guides/policy-events"}]},{"group":"Axle Validation","pages":[{"title":"Policy Validation","href":"/guides/validate/policy-validation"},{"title":"Policy Validation with Templates","href":"/guides/validate/policy-validation-with-template"}]},{"title":"Widgets","href":"/guides/widgets"},{"title":"Policy Actions","href":"/guides/policy-actions"},{"group":"Sandbox","pages":[{"title":"Testing Ignition","href":"/guides/sandbox/ignition-completion"},{"title":"Monitoring notifications","href":"/guides/sandbox/monitoring-notifications"},{"title":"Validate Policy with Template","href":"/guides/sandbox/validate-policy-with-template"}]}]},{"group":"API Reference","pages":[{"title":"Overview","href":"/api-reference/overview"},{"group":"Ignition","pages":[{"openapi":"POST /ignition","title":"Start Ignition","href":"/api-reference/ignition/start-ignition"},{"openapi":"POST /ignition/{ignitionToken}/proxy","title":"Proxy Ignition","href":"/api-reference/ignition/proxy-ignition"}]},{"group":"Tokens","pages":[{"openapi":"POST /token/exchange","title":"Exchange Token","href":"/api-reference/tokens/exchange-token"},{"openapi":"POST /token/descope","title":"Descope Token","href":"/api-reference/tokens/descope-token"}]},{"group":"Accounts","pages":[{"title":"The Account object","href":"/api-reference/accounts/account"},{"openapi":"GET /accounts/{id}","title":"Get Account","href":"/api-reference/accounts/get-account"}]},{"group":"Policies","pages":[{"title":"The Policy object","href":"/api-reference/policies/policy"},{"title":"Coverages","href":"/api-reference/policies/coverages"},{"openapi":"GET /policies/{policyId}","title":"Get Policy","href":"/api-reference/policies/get-policy"},{"openapi":"GET /policies/{policyId}/report","title":"Get Policy Report","href":"/api-reference/policies/get-policy-report"},{"openapi":"POST /policies/{policyId}/actions","title":"Execute Policy Action","href":"/api-reference/policies/execute-policy-action"}]},{"group":"Carriers","pages":[{"openapi":"GET /carriers/{id}","title":"Get Carrier","href":"/api-reference/carriers/get-carrier"},{"openapi":"GET /carriers","title":"Get Carriers","href":"/api-reference/carriers/get-carriers"}]},{"group":"Platform","pages":[{"openapi":"POST /platform/clients","title":"Create Client","href":"/api-reference/platform/create-client"},{"openapi":"GET /platform/clients","title":"Get Clients","href":"/api-reference/platform/get-clients"},{"openapi":"POST /platform/validation/templates","title":"Create Template","href":"/api-reference/platform/create-templates"}]},{"group":"Sandbox","pages":[{"openapi":"POST /sandbox/accounts/{id}/event","title":"Trigger Account event","href":"/api-reference/sandbox/trigger-account-event"},{"openapi":"POST /sandbox/policies/{policyId}/event","title":"Trigger Policy event","href":"/api-reference/sandbox/trigger-policy-event"}]},{"group":"Validation","pages":[{"openapi":"POST /policies/{policyId}/validate","title":"Validate Policy","href":"/api-reference/validation/validate-policy"},{"openapi":"POST /policies/{policyId}/validate/{templateId}","title":"Validate Policy with Template","href":"/api-reference/validation/validate-policy-template"},{"group":"Templates","pages":[{"openapi":"POST /validation/templates","title":"Create Template","href":"/api-reference/validation/templates/create-template"},{"openapi":"GET /validation/templates/{templateId}","title":"Get Template","description":"The Get Template endpoint returns template object for provided template ID.","href":"/api-reference/validation/templates/get-template"},{"openapi":"POST /validation/templates/{templateId}","title":"Update Template","href":"/api-reference/validation/templates/update-template"},{"openapi":"GET /validation/templates","title":"Get Templates","description":"Get a list of all templates for the provided `clientId` or `destinationId`.\n\nRefer to the [Policy Validation with Templates](/guides/validate/policy-validation#validation-templates) guide for more details.","href":"/api-reference/validation/templates/get-templates"}]}]},{"group":"Widgets","pages":[{"openapi":"POST /widgets","title":"Start Widget","href":"/api-reference/widgets/start-widget"}]},{"group":"Webhooks","pages":[{"openapi":"openapi.yaml webhook ignitionEvents","title":"Ignition Events","href":"/api-reference/webhooks/ignition-events"},{"openapi":"openapi.yaml webhook accountEvents","title":"Account Events","href":"/api-reference/webhooks/account-events"},{"openapi":"openapi.yaml webhook policyEvents","title":"Policy Events","href":"/api-reference/webhooks/policy-events"},{"openapi":"openapi.yaml webhook policyActionEvents","title":"Policy Action Events","href":"/api-reference/webhooks/policy-action-events"}]}]},{"group":"Advanced","pages":[{"title":"MCP","href":"/advanced/mcp"}]}]},{"tab":"Authorization","hidden":true,"pages":[{"title":"Authorization","href":"/dashboard/rbac"}]},{"tab":"Carriers","hidden":true,"pages":[{"title":"Carriers","href":"/carriers/overview"}]}]},"basePath":"","title":"Update Template - Axle","buildId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","deploymentId":"dpl_9VVk5y1P8k1ATeJguVngy9Q3cmbD","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-DX1Meug0.js","utils-B_OMIQVC.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-ChxhRPMa.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-CuKvD8Iv.js","snippetPresets-C5d7p2hp.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CfHcE8m4.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C1zZV314.js","shallow-CmQhqCJn.js","getApiPlaygroundDisplay-YRo9s1O7.js","CodeSnippet-RN1MTdfk.js","CodeSnippets-DKLPHxJA.js","Page-BAvA99GL.js","getPastedJson-bz0M41mU.js","icon-CsmhpPrv.js","MethodPill-CNGsVE77.js","DuplicateIcon-DilfU_Z2.js","createIcon-BdsYzQck.js","DynamicMarkdown-CbqEDjbV.js","SectionHeading-O6hXpFCN.js","axios-vUo_bRtp.js","Markdown-nKm-uidQ.js","clsx-ClVdStUn.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CIQkMg3R.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-ImrFS4Fy.js"]}