{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"PathStack","colors":{"primary":"#2047FA","light":"#203dfa","dark":"#2047FA"},"favicon":"https://mintcdn.com/nuonic-39/IvvWU3allt6PGoB1/favicon.png?fit=max\u0026auto=format\u0026n=IvvWU3allt6PGoB1\u0026q=85\u0026s=13af1d1deb3e464f07af03b3c326ddd3","logo":{"light":"https://mintcdn.com/nuonic-39/syOOuB1ZSGS1zaSD/logo/light.png?fit=max\u0026auto=format\u0026n=syOOuB1ZSGS1zaSD\u0026q=85\u0026s=9b03c378d1fa1bbd0bfce37ccf17175c","dark":"https://mintcdn.com/nuonic-39/syOOuB1ZSGS1zaSD/logo/dark.png?fit=max\u0026auto=format\u0026n=syOOuB1ZSGS1zaSD\u0026q=85\u0026s=2e04739478900956a06ad5d8f726dfb1","href":"https://pathstack.io"},"api":{"openapi":["api-reference/openapi_2024-03-27.json","api-reference/openapi_2024-03-26.json"]},"navbar":{"links":[{"label":"Support","href":"mailto:support@pathstack.io"}],"primary":{"type":"button","label":"Sign up","href":"https://pathstack.io/register"}},"footer":{"socials":{"linkedin":"https://au.linkedin.com/company/nuonic"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nuonic-39","hasAudioNarration":false,"actualSubdomain":"nuonic-39","customDomains":["docs.pathstack.io"],"gitSource":{"type":"github","owner":"nuonic","repo":"midland-docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aa22862cf3ab925e991028c","collectionId":"26a2fba7-04c9-4265-8a37-e8d2acf3166e","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6aa22862cf3ab925e991028c"},"entitlements":{},"buildId":"6aa22862cf3ab925e991028c","clientVersion":"0.0.4074","searchFilterCounts":[{"language":"default","tag":"API Reference","count":83},{"language":"default","tag":"Endpoints","count":82},{"language":"default","tag":"Provider access guides","count":18},{"language":"default","tag":"Connections","count":14},{"language":"default","tag":"Milestones","count":12},{"language":"default","tag":"Documentation","count":12},{"language":"default","tag":"Devices","count":10},{"language":"default","tag":"Webhooks","count":10},{"language":"default","tag":"Legal","count":10},{"language":"default","tag":"Guides","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-reference/2024-03-26/connections/update-connection","slug":"/api-reference/2024-03-26/connections/update-connection","pageMetadata":{"openapi":"openapi_2024-03-26 patch /connection/{connection_id}","title":"Update Connection","description":"Update connection metadata (active toggle, tag assignment, business_name, abn, email).\nOnly the owning tenant may update a connection.\n\n- Omitting a field leaves it unchanged.\n- Sending null or [] for tags clears all tag assignments.\n- Sending null for business_name, abn, or email clears that field.\n- Sending null for active is not allowed (active is always a bool).","href":"/api-reference/2024-03-26/connections/update-connection"},"description":{"compiledSource":"\"use strict\";\nconst {Fragment: _Fragment, jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n li: \"li\",\n p: \"p\",\n ul: \"ul\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_Fragment, {\n children: [_jsx(_components.p, {\n children: \"Update connection metadata (active toggle, tag assignment, business_name, abn, email).\\nOnly the owning tenant may update a connection.\"\n }), \"\\n\", _jsxs(_components.ul, {\n children: [\"\\n\", _jsx(_components.li, {\n children: \"Omitting a field leaves it unchanged.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Sending null or [] for tags clears all tag assignments.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Sending null for business_name, abn, or email clears that field.\"\n }), \"\\n\", _jsx(_components.li, {\n children: \"Sending null for active is not allowed (active is always a bool).\"\n }), \"\\n\"]\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":"openapi_2024-03-26 patch /connection/{connection_id}","title":"Update Connection","description":"Update connection metadata (active toggle, tag assignment, business_name, abn, email).\nOnly the owning tenant may update a connection.\n\n- Omitting a field leaves it unchanged.\n- Sending null or [] for tags clears all tag assignments.\n- Sending null for business_name, abn, or email clears that field.\n- Sending null for active is not allowed (active is always a bool).","href":"/api-reference/2024-03-26/connections/update-connection"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Connections"],"summary":"Update Connection","description":"Update connection metadata (active toggle, tag assignment, business_name, abn, email).\nOnly the owning tenant may update a connection.\n\n- Omitting a field leaves it unchanged.\n- Sending null or [] for tags clears all tag assignments.\n- Sending null for business_name, abn, or email clears that field.\n- Sending null for active is not allowed (active is always a bool).","operationId":"update_connection_connection__connection_id__patch","security":["3e540304-7791-4ba3-bfc7-3a396cb36754"],"parameters":["a5f4327e-644c-4d5b-b512-906d76ad46ef","f721c656-5477-4788-aeb6-0cf283bbbd5b"],"requestBody":"e920b548-5080-47ed-8938-35fc13d40c71","responses":{"200":"3b8ef85d-8fb5-441d-b341-1868dc06c829","400":"60a4c194-ec3d-4829-8b8d-a9a8bcab5750","401":"ec9ab3eb-521d-4939-ae21-70f8553f7f69","403":"f8f909f1-e816-46fc-8f24-b25b643bfa52","404":"984409dd-ab92-4627-8d14-5d57447e81d4","422":"bf607ab4-63cb-4f2f-96bd-a6f2a4ca1586"},"method":"patch","type":"path","servers":["526eb86f-4f2f-4596-9901-1ab1dd1a4293"],"path":"/connection/{connection_id}","baseUrlOptions":["https://api.pathstack.io"],"title":"Update Connection","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"a5f4327e-644c-4d5b-b512-906d76ad46ef":{"name":"connection_id","in":"path","required":true,"schema":{"type":"string","format":"uuid","title":"Connection ID","description":"Connection ID of the Connection to be updated","isRequired":true,"uniqueKey":"","typeLabel":"string\u003cuuid>"},"description":"Connection ID of the Connection to be updated"},"f721c656-5477-4788-aeb6-0cf283bbbd5b":{"name":"x-api-version","in":"header","required":false,"schema":{"type":"string","format":"date","default":"2024-03-26","title":"X-Api-Version","isRequired":false,"uniqueKey":"","typeLabel":"string\u003cdate>"},"examples":{"default":{"value":"2024-03-26"}}}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"active":{"oneOf":[{"type":"boolean","title":"Active","uniqueKey":"active.oneOf.0","typeLabel":"boolean"},{"type":"null","title":"Active","uniqueKey":"active.oneOf.1","typeLabel":"null"}],"uniqueKey":"active","typeLabel":"boolean | null"},"tags":{"oneOf":[{"type":"array","items":{"type":"string","uniqueKey":"tags.oneOf.0.items.[INDEX]","typeLabel":"string"},"title":"Tags","uniqueKey":"tags.oneOf.0","typeLabel":"string[]"},{"type":"null","title":"Tags","uniqueKey":"tags.oneOf.1","typeLabel":"null"}],"uniqueKey":"tags","typeLabel":"string[] | null"},"business_name":{"oneOf":[{"type":"string","title":"Business Name","uniqueKey":"business_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Business Name","uniqueKey":"business_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"business_name","typeLabel":"string | null"},"abn":{"oneOf":[{"type":"string","title":"Abn","uniqueKey":"abn.oneOf.0","typeLabel":"string"},{"type":"null","title":"Abn","uniqueKey":"abn.oneOf.1","typeLabel":"null"}],"uniqueKey":"abn","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","format":"email","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","title":"Email","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"}},"type":"object","title":"ConnectionUpdate","uniqueKey":"","typeLabel":"ConnectionUpdate · object"},"examples":{"Example":{"title":"Example","value":{"active":true,"tags":["\u003cstring>"],"business_name":"\u003cstring>","abn":"\u003cstring>","email":"jsmith@example.com"}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3b8ef85d-8fb5-441d-b341-1868dc06c829":{"description":"Successful Response","content":{"application/json":{"schema":{"properties":{"data":{"properties":{"integration_name":{"type":"string","enum":["mtdata","geotab","navman","mixtelematics","radius","verizon_connect","volvo","fleetsu","digital_matter","netstar","netstar_v2","webfleet","scania","linxio","geoforce","michelin_connected_fleet","navixy","netcorp","mapon","v_daq"],"title":"ProviderEnum","isRequired":true,"uniqueKey":"data.integration_name","typeLabel":"enum\u003cstring>"},"business_name":{"oneOf":[{"type":"string","title":"Business Name","isRequired":true,"uniqueKey":"data.business_name.oneOf.0","typeLabel":"string"},{"type":"null","title":"Business Name","isRequired":true,"uniqueKey":"data.business_name.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.business_name","typeLabel":"string | null"},"abn":{"oneOf":[{"type":"string","title":"Abn","isRequired":true,"uniqueKey":"data.abn.oneOf.0","typeLabel":"string"},{"type":"null","title":"Abn","isRequired":true,"uniqueKey":"data.abn.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.abn","typeLabel":"string | null"},"email":{"oneOf":[{"type":"string","title":"Email","isRequired":true,"uniqueKey":"data.email.oneOf.0","typeLabel":"string"},{"type":"null","title":"Email","isRequired":true,"uniqueKey":"data.email.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.email","typeLabel":"string | null"},"active":{"type":"boolean","title":"Active","isRequired":true,"uniqueKey":"data.active","typeLabel":"boolean"},"id":{"type":"string","format":"uuid4","title":"Id","isRequired":true,"uniqueKey":"data.id","typeLabel":"string\u003cuuid4>"},"tenant_id":{"type":"string","format":"uuid4","title":"Tenant Id","isRequired":true,"uniqueKey":"data.tenant_id","typeLabel":"string\u003cuuid4>"},"collection_start_time":{"oneOf":[{"type":"string","title":"Collection Start Time","format":"date-time","isRequired":true,"uniqueKey":"data.collection_start_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Collection Start Time","isRequired":true,"uniqueKey":"data.collection_start_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.collection_start_time","typeLabel":"string\u003cdate-time> | null"},"collection_end_time":{"oneOf":[{"type":"string","title":"Collection End Time","format":"date-time","isRequired":true,"uniqueKey":"data.collection_end_time.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","title":"Collection End Time","isRequired":true,"uniqueKey":"data.collection_end_time.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.collection_end_time","typeLabel":"string\u003cdate-time> | null"},"configuration":{"oneOf":[{"type":"object","title":"Configuration","additionalProperties":true,"isRequired":true,"uniqueKey":"data.configuration.oneOf.0","typeLabel":"Configuration · object"},{"type":"null","title":"Configuration","isRequired":true,"uniqueKey":"data.configuration.oneOf.1","typeLabel":"null"}],"isRequired":true,"uniqueKey":"data.configuration","typeLabel":"Configuration · object | null"}},"type":"object","required":["integration_name","business_name","abn","email","active","id","tenant_id","collection_start_time","collection_end_time","configuration"],"title":"ConnectionNoCredentials","isRequired":true,"uniqueKey":"data","typeLabel":"ConnectionNoCredentials · object"}},"type":"object","required":["data"],"title":"ConnectionSuccessResponse","uniqueKey":"","typeLabel":"ConnectionSuccessResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":{"integration_name":"mtdata","business_name":"\u003cstring>","abn":"\u003cstring>","email":"\u003cstring>","active":true,"id":"\u003cstring>","tenant_id":"\u003cstring>","collection_start_time":"2023-11-07T05:31:56Z","collection_end_time":"2023-11-07T05:31:56Z","configuration":{}}}}},"exampleType":"generated"}},"exampleType":"generated"},"60a4c194-ec3d-4829-8b8d-a9a8bcab5750":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":400,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Invalid JWT format","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":400,"message":"Invalid JWT format"}}}},"exampleType":"generated"}},"description":"Bad Request","exampleType":"generated"},"ec9ab3eb-521d-4939-ae21-70f8553f7f69":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":401,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Authentication header is missing, or token is invalid/expired.","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":401,"message":"Authentication header is missing, or token is invalid/expired."}}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"f8f909f1-e816-46fc-8f24-b25b643bfa52":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":403,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"You do not have access to this resource","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":403,"message":"You do not have access to this resource"}}}},"exampleType":"generated"}},"description":"Forbidden","exampleType":"generated"},"984409dd-ab92-4627-8d14-5d57447e81d4":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":404,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Connection with ID \u003cconnection_id> not found","title":"Error message","uniqueKey":"error.message","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":404,"message":"Connection with ID \u003cconnection_id> not found"}}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"bf607ab4-63cb-4f2f-96bd-a6f2a4ca1586":{"content":{"application/json":{"schema":{"properties":{"error":{"type":"object","properties":{"code":{"type":"integer","example":422,"title":"Error code","uniqueKey":"error.code","typeLabel":"integer"},"message":{"type":"string","example":"Field required","title":"Error message","uniqueKey":"error.message","typeLabel":"string"},"loc":{"items":{"oneOf":[{"type":"string","uniqueKey":"error.loc.items.[INDEX].oneOf.0","typeLabel":"string"},{"type":"integer","uniqueKey":"error.loc.items.[INDEX].oneOf.1","typeLabel":"integer"}],"uniqueKey":"error.loc.items.[INDEX]","typeLabel":"string | integer"},"type":"array","title":"Location","uniqueKey":"error.loc","typeLabel":"(string | integer)[]"},"msg":{"type":"string","title":"Message","uniqueKey":"error.msg","typeLabel":"string"},"type":{"type":"string","title":"Error Type","uniqueKey":"error.type","typeLabel":"string"}},"uniqueKey":"error","typeLabel":"object"}},"type":"object","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"error":{"code":422,"message":"Field required","loc":["\u003cstring>"],"msg":"\u003cstring>","type":"\u003cstring>"}}}},"exampleType":"generated"}},"description":"Unprocessable Entity","exampleType":"generated"}},"security":{"3e540304-7791-4ba3-bfc7-3a396cb36754":{"JWTBearer":{"type":"http","scheme":"bearer","scopes":[]}}},"servers":{"526eb86f-4f2f-4596-9901-1ab1dd1a4293":{"url":"https://api.pathstack.io","description":"PathStack production environment"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"http","scheme":"bearer","scopes":[]},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Bearer authentication header of the form `Bearer \u003ctoken>`, where `\u003ctoken>` is your auth token.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"JWTBearer","name":"Authorization"}],"title":"JWTBearer"}]},"originalFileLocation":"api-reference/openapi_2024-03-26.json"},"subdomain":"nuonic-39","siteName":"PathStack","title":"Update Connection - PathStack","navMaps":{"firstHrefInVersion":{"2024-03-27":{"href":"/api-reference/2024-03-27/connections/update-connection","matchLevel":1},"2024-03-26":{"href":"/api-reference/2024-03-26/connections/update-connection","matchLevel":0}},"firstHrefInLanguage":{}},"lastModified":"2026-06-17T05:02:57.145Z","originalFileLocation":"api-reference/2024-03-26/connections/update-connection.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=\"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=\"description\" content=\"Update connection metadata (active toggle, tag assignment, business_name, abn, email). Only the owning tenant may update a connection. - Omitting a field leaves it unchanged. - Sending null or [] for tags clears all tag assignments. - Sending null for business_name, abn, or email clears that field. - Sending null for active is not allowed (active is always a bool).\">\u003cmeta data-mint-head name=\"application-name\" content=\"PathStack\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_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/nuonic-39/fYQpJWsv94JQUvWa/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Update Connection - PathStack\">\u003cmeta data-mint-head property=\"og:description\" content=\"Update connection metadata (active toggle, tag assignment, business_name, abn, email). Only the owning tenant may update a connection. - Omitting a field leaves it unchanged. - Sending null or [] for tags clears all tag assignments. - Sending null for business_name, abn, or email clears that field. - Sending null for active is not allowed (active is always a bool).\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"PathStack\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nuonic-39.mintlify.site/_mintlify/api/og/v2?division=Connections\u0026amp;title=Update+Connection\u0026amp;description=Update+connection+metadata+%28active+toggle%2C+tag+assignment%2C+business_name%2C+abn%2C+email%29.%0AOnly+the+owning+tenant+may+update+a+connection.%0A%0A-+Omitting+a+field+leave\u0026amp;theme=cb7cc1e2641545070c649087\u0026amp;signature=9c726b059db2a703607366116c77913449d57fbac87897c1630cba013b1e78a1\">\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 Connection - PathStack\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Update connection metadata (active toggle, tag assignment, business_name, abn, email). Only the owning tenant may update a connection. - Omitting a field leaves it unchanged. - Sending null or [] for tags clears all tag assignments. - Sending null for business_name, abn, or email clears that field. - Sending null for active is not allowed (active is always a bool).\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nuonic-39.mintlify.site/_mintlify/api/og/v2?division=Connections\u0026amp;title=Update+Connection\u0026amp;description=Update+connection+metadata+%28active+toggle%2C+tag+assignment%2C+business_name%2C+abn%2C+email%29.%0AOnly+the+owning+tenant+may+update+a+connection.%0A%0A-+Omitting+a+field+leave\u0026amp;theme=cb7cc1e2641545070c649087\u0026amp;signature=9c726b059db2a703607366116c77913449d57fbac87897c1630cba013b1e78a1\">\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/nuonic-39/fYQpJWsv94JQUvWa/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"PathStack\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#2047FA\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/2024-03-26/connections/update-connection.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.pathstack.io/#organization\",\"name\":\"PathStack\",\"url\":\"https://docs.pathstack.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nuonic-39/syOOuB1ZSGS1zaSD/logo/light.png?fit=max\u0026auto=format\u0026n=syOOuB1ZSGS1zaSD\u0026q=85\u0026s=9b03c378d1fa1bbd0bfce37ccf17175c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.pathstack.io#website\",\"name\":\"PathStack\",\"url\":\"https://docs.pathstack.io\",\"publisher\":{\"@id\":\"https://docs.pathstack.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection#webpage\",\"url\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection\",\"name\":\"Update Connection\",\"description\":\"Update connection metadata (active toggle, tag assignment, business_name, abn, email). Only the owning tenant may update a connection. - Omitting a field leaves it unchanged. - Sending null or [] for tags clears all tag assignments. - Sending null for business_name, abn, or email clears that field. - Sending null for active is not allowed (active is always a bool).\",\"dateModified\":\"2026-06-17T05:02:57.145Z\",\"isPartOf\":{\"@id\":\"https://docs.pathstack.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.pathstack.io/api-reference/2024-03-26/account/account-summary\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Connections\",\"item\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/connections\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Update Connection\",\"item\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection#apireference\",\"headline\":\"Update Connection\",\"name\":\"Update Connection\",\"description\":\"Update connection metadata (active toggle, tag assignment, business_name, abn, email). Only the owning tenant may update a connection. - Omitting a field leaves it unchanged. - Sending null or [] for tags clears all tag assignments. - Sending null for business_name, abn, or email clears that field. - Sending null for active is not allowed (active is always a bool).\",\"url\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection\",\"mainEntityOfPage\":{\"@id\":\"https://docs.pathstack.io/api-reference/2024-03-26/connections/update-connection#webpage\"},\"dateModified\":\"2026-06-17T05:02:57.145Z\",\"publisher\":{\"@id\":\"https://docs.pathstack.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.pathstack.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"PathStack\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"PathStack","nav":{"global":null,"versions":[{"version":"2024-03-27","pages":[{"title":"2024-03-27","href":"/api-reference/2024-03-27/connections/update-connection"}]},{"version":"2024-03-26","tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Reference","groups":[{"group":"API Documentation","pages":[{"title":"Introduction","href":"/api-reference/introduction"}]},{"group":"Endpoints","pages":[{"group":"Account","pages":[{"openapi":"openapi_2024-03-26 get /account/summary","title":"Account Summary","href":"/api-reference/2024-03-26/account/account-summary"},{"openapi":"openapi_2024-03-26 get /account/activity-summary","title":"Account Activity Summary","href":"/api-reference/2024-03-26/account/account-activity-summary"}]},{"group":"Auth","pages":[{"openapi":"openapi_2024-03-26 post /token","title":"Login","href":"/api-reference/2024-03-26/auth/login"},{"openapi":"openapi_2024-03-26 post /refresh","title":"Refresh","href":"/api-reference/2024-03-26/auth/refresh"}]},{"group":"Connections","pages":[{"openapi":"openapi_2024-03-26 get /connection","title":"Connections","href":"/api-reference/2024-03-26/connections/connections"},{"openapi":"openapi_2024-03-26 post /connection","title":"Create Connection","href":"/api-reference/2024-03-26/connections/create-connection"},{"openapi":"openapi_2024-03-26 get /connection/{connection_id}","title":"Connection By Id","description":"This endpoint returns a Connection by ID.","href":"/api-reference/2024-03-26/connections/connection-by-id"},{"openapi":"openapi_2024-03-26 patch /connection/{connection_id}","title":"Update Connection","href":"/api-reference/2024-03-26/connections/update-connection"},{"openapi":"openapi_2024-03-26 get /connection/{connection_id}/credentials","title":"Connection Credentials By Id","description":"Credentials are owner-only. Shared tenants can see connection metadata through\nthe existing scoped connection endpoints, but cannot read another tenant's\nstored integration credentials.","href":"/api-reference/2024-03-26/connections/connection-credentials-by-id"},{"openapi":"openapi_2024-03-26 patch /connection/{connection_id}/credentials","title":"Update Connection Credentials","href":"/api-reference/2024-03-26/connections/update-connection-credentials"},{"openapi":"openapi_2024-03-26 get /connection-tag","title":"List Connection Tags","href":"/api-reference/2024-03-26/connections/list-connection-tags"}]},{"group":"Devices","pages":[{"openapi":"openapi_2024-03-26 get /device","title":"Devices","href":"/api-reference/2024-03-26/devices/devices"},{"openapi":"openapi_2024-03-26 post /device","title":"Create Device","href":"/api-reference/2024-03-26/devices/create-device"},{"openapi":"openapi_2024-03-26 get /device/{device_id}","title":"Device By Id","href":"/api-reference/2024-03-26/devices/device-by-id"},{"openapi":"openapi_2024-03-26 delete /device/{device_id}","title":"Delete Device By Id","href":"/api-reference/2024-03-26/devices/delete-device-by-id"},{"openapi":"openapi_2024-03-26 patch /device/{device_id}","title":"Update Device By Id","href":"/api-reference/2024-03-26/devices/update-device-by-id"}]},{"group":"Trips","pages":[{"openapi":"openapi_2024-03-26 get /device/{device_id}/trip","title":"Trips","href":"/api-reference/2024-03-26/trips/trips"},{"openapi":"openapi_2024-03-26 get /trip/{trip_id}","title":"Trip By Id","href":"/api-reference/2024-03-26/trips/trip-by-id"}]},{"group":"Positions","pages":[{"openapi":"openapi_2024-03-26 get /device/{device_id}/position","title":"Positions","href":"/api-reference/2024-03-26/positions/positions"},{"openapi":"openapi_2024-03-26 get /trip/{trip_id}/position","title":"Positions By Trip Id","href":"/api-reference/2024-03-26/positions/positions-by-trip-id"}]},{"group":"Real-time","pages":[{"openapi":"openapi_2024-03-26 post /realtime/device","title":"Get Realtime Positions","href":"/api-reference/2024-03-26/real-time/get-realtime-positions"},{"openapi":"openapi_2024-03-26 get /realtime/connect","title":"Get Connect","href":"/api-reference/2024-03-26/real-time/get-connect"}]},{"group":"Webhooks","pages":[{"openapi":"openapi_2024-03-26 get /webhook","title":"Get Webhooks","href":"/api-reference/2024-03-26/webhooks/get-webhooks"},{"openapi":"openapi_2024-03-26 post /webhook","title":"Create Webhook","href":"/api-reference/2024-03-26/webhooks/create-webhook"},{"openapi":"openapi_2024-03-26 get /webhook/{webhook_id}","title":"Get Webhook","href":"/api-reference/2024-03-26/webhooks/get-webhook"},{"openapi":"openapi_2024-03-26 delete /webhook/{webhook_id}","title":"Delete Webhook","href":"/api-reference/2024-03-26/webhooks/delete-webhook"},{"openapi":"openapi_2024-03-26 patch /webhook/{webhook_id}","title":"Patch Webhook","href":"/api-reference/2024-03-26/webhooks/patch-webhook"}]},{"group":"Tags","pages":[{"openapi":"openapi_2024-03-26 get /tag","title":"Get Tags","href":"/api-reference/2024-03-26/tags/get-tags"}]},{"group":"Events","pages":[{"openapi":"openapi_2024-03-26 get /device/{device_id}/event","title":"Events","href":"/api-reference/2024-03-26/events/events"},{"openapi":"openapi_2024-03-26 get /event/{event_id}","title":"Event By Id","href":"/api-reference/2024-03-26/events/event-by-id"}]},{"group":"Tenants","pages":[{"openapi":"openapi_2024-03-26 get /tenant","title":"Tenant By Id","href":"/api-reference/2024-03-26/tenants/tenant-by-id"},{"openapi":"openapi_2024-03-26 patch /tenant","title":"Update Tenant By Id","href":"/api-reference/2024-03-26/tenants/update-tenant-by-id"},{"openapi":"openapi_2024-03-26 get /tenant/configuration","title":"Tenant Configuration","href":"/api-reference/2024-03-26/tenants/tenant-configuration"}]},{"group":"Milestones","pages":[{"openapi":"openapi_2024-03-26 get /milestone","title":null,"href":"/api-reference/2024-03-26/milestones/get-milestones"},{"openapi":"openapi_2024-03-26 post /milestone","title":null,"href":"/api-reference/2024-03-26/milestones/create-milestone"},{"openapi":"openapi_2024-03-26 get /milestone/{milestone_id}","title":"Get Milestone","href":"/api-reference/2024-03-26/milestones/get-milestone"},{"openapi":"openapi_2024-03-26 delete /milestone/{milestone_id}","title":"Delete Milestone","href":"/api-reference/2024-03-26/milestones/delete-milestone"},{"openapi":"openapi_2024-03-26 patch /milestone/{milestone_id}","title":"Patch Milestone","href":"/api-reference/2024-03-26/milestones/patch-milestone"},{"openapi":"openapi_2024-03-26 get /milestone/{milestone_id}/update","title":"Get Milestone Update","href":"/api-reference/2024-03-26/milestones/get-milestone-update"}]},{"group":"Consumer","pages":[{"openapi":"openapi_2024-03-26 get /consumer/connection/share_request","title":"Get Share Requests","href":"/api-reference/2024-03-26/consumer/get-share-requests"},{"openapi":"openapi_2024-03-26 post /consumer/connection/share_request","title":"Create Share Request","href":"/api-reference/2024-03-26/consumer/create-share-request"}]}]}]},{"tab":"Provider access guides","pages":[{"title":"Provider access guides","href":"/integration-guides/verizon"}]},{"tab":"Legal","pages":[{"title":"Legal","href":"/legal/data-provider-terms"}]}]}]},"basePath":"","title":"Update Connection - PathStack","buildId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","deploymentId":"dpl_BLQvU86QFwq3AhPofSTw6q8dGWKm","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-Myd8dsju.js","utils-C2HkQgW0.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-8rSppmTv.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B6MjiCFm.js","snippetPresets-DwrSAONL.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-1-a5UQKQ.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-C541m7wZ.js","shallow-CWELCZ77.js","getApiPlaygroundDisplay-CTo5Zn03.js","CodeSnippet-D--dzvnl.js","CodeSnippets-DM3cXEDh.js","Page-CxAy5y67.js","getPastedJson-C-VECgcL.js","icon-BPq2-Mg3.js","MethodPill-D9J5cUHd.js","DuplicateIcon-BqHaxUnD.js","createIcon-CIbcZHp9.js","DynamicMarkdown-BKiHAm_d.js","SectionHeading-DstQXt3H.js","axios-vUo_bRtp.js","Markdown-CpxgzsKA.js","clsx-C5EfhVm0.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-CJ9Oly2E.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-Mk6P3qvh.js"]}