A user API token, or a product API key created in a product's settings.
A product API key only works on the routes for its own product, under
/api/orgs/{org_name}/products/{product_name}, and on /api/devices/{identifier}
for that product's devices. What it may do there is decided by the role it
holds, the same way a member's role decides what they may do.
Path Parameters
org_name
string
required
Organization Name
product_name
string
required
Product Name
name
string
required
Deployment Group Name
number
integer
required
Release number within the deployment group
Body
application/json
Release update request body
PATCH body for changing a release. Only these fields can change once a release is made; any left out keep their value.
connecting_code
string | null
Elixir run on a device when it connects, as long as this release is the one it is sent. Null or an empty string removes it.
connecting_code_mode
enum<string>
Where the release's connecting code runs relative to the deployment group's: "first" (before it), "last" (after it) or "override" (instead of it)
Available options:
first,
last,
override
required
boolean
Devices that have not reached a required release are updated to it before any newer release
Response
Release response
A single release
data
DeploymentRelease · object
Show child attributes
Example:
{ "archive_uuid": null, "connecting_code": null, "connecting_code_mode": "last", "created_by": { "email": "jane@example.com", "name": "Jane Doe", "type": "user" }, "delta_status": "ready", "description": "Fixes the Wi-Fi reconnect loop", "firmware": { "architecture": "arm", "platform": "rpi0", "uuid": "d9f8c63a-1234-5678-abcd-ef0123456789", "version": "1.0.1" }, "inserted_at": "2024-01-01T00:00:00", "is_current": true, "notes": "Roll out after the field test passes", "number": 3, "required": false, "updated_at": "2024-01-01T00:00:00" }
{"docsConfig":{"theme":"palm","$schema":"https://mintlify.com/docs.json","name":"NervesHub","colors":{"primary":"#6366f1","light":"#818cf8","dark":"#4f46e5"},"logo":{"light":"https://mintcdn.com/nervescloud/5bz8_cB7diUKfY2L/images/logo-lockup-light-t.png?fit=max\u0026auto=format\u0026n=5bz8_cB7diUKfY2L\u0026q=85\u0026s=4fcfcec9804e3d1c56649d112bd05a07","dark":"https://mintcdn.com/nervescloud/5bz8_cB7diUKfY2L/images/logo-lockup-dark.png?fit=max\u0026auto=format\u0026n=5bz8_cB7diUKfY2L\u0026q=85\u0026s=77bf0bf18a9cd7e7d6297f9d4edadb90","href":"/"},"favicon":{"light":"https://mintcdn.com/nervescloud/LUktOqWBfC2J1-GL/images/favicon.svg?fit=max\u0026auto=format\u0026n=LUktOqWBfC2J1-GL\u0026q=85\u0026s=f5dc1749a812cc58283e4a849867d83e","dark":"https://mintcdn.com/nervescloud/LUktOqWBfC2J1-GL/images/favicon.svg?fit=max\u0026auto=format\u0026n=LUktOqWBfC2J1-GL\u0026q=85\u0026s=f5dc1749a812cc58283e4a849867d83e"},"navbar":{"links":[{"href":"https://nerves-hub.org","label":"NervesHub"},{"href":"https://nervescloud.com","label":"NervesCloud"},{"href":"https://discord.gg/Xb4pedSDy9","label":"Discord"}]},"footer":{"socials":{"github":"https://github.com/nerves-hub"}},"contextual":{"options":["copy","view","chatgpt","claude","download-pdf"],"display":"toc"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"nervescloud","hasAudioNarration":false,"actualSubdomain":"nervescloud","customDomains":["docs.nerves-hub.org"],"gitSource":{"type":"github","owner":"nerves-hub","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b07dba1624292494269dc2a","clientVersion":"0.0.4336","searchFilterCounts":[{"language":"default","tag":"HTTP API","count":100},{"language":"default","tag":"Endpoints","count":98},{"language":"default","tag":"Documentation","count":64},{"language":"default","tag":"Devices","count":14},{"language":"default","tag":"Devices (short URL)","count":11},{"language":"default","tag":"Firmware Updates","count":10},{"language":"default","tag":"Deployment Groups","count":9},{"language":"default","tag":"Extensions","count":8},{"language":"default","tag":"Device Management","count":8},{"language":"default","tag":"Webhooks","count":8}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".chat-assistant-floating-input{display:none!important}"}]}
{"page":{"pagePath":"api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code","slug":"/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code","pageMetadata":{"title":"Change whether a release is required, or its connecting code","description":"The firmware, archive, description and notes of a release are fixed once it's made.\nCreate a new release to send different firmware.\n","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi patch /api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases/{number}","href":"/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The firmware, archive, description and notes of a release are fixed once it’s made.\\nCreate a new release to send different firmware.\"\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":{"title":"Change whether a release is required, or its connecting code","description":"The firmware, archive, description and notes of a release are fixed once it's made.\nCreate a new release to send different firmware.\n","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi patch /api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases/{number}","href":"/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"callbacks":{},"description":"The firmware, archive, description and notes of a release are fixed once it's made.\nCreate a new release to send different firmware.\n","operationId":"NervesHubWeb.API.DeploymentReleaseController.update","parameters":["f95452da-9725-4c91-a0f7-b551b473b023","6134a75f-b6c1-4127-9119-eea27b8a2a0c","d55d69da-5190-4a55-8848-0e8447d32160","122edaa5-2fdd-4f87-9312-e3327807c23e"],"requestBody":"5db2c063-ae36-47a2-8a39-68e12c8648cb","responses":{"200":"c8f1a7f1-0b10-48b4-ad03-294fe15b7c9f","401":"86561896-a0ce-465e-85bd-8b1d7f012a14","403":"8216f271-51de-4d89-851a-00c3a0dd69f1","404":"f9017afb-9ca4-4524-9b37-0be93a0917e5","422":"1dc137de-ff1f-4dcd-a9d1-19bb9633e9c5"},"security":["5401ef02-5748-4be9-a56c-bc0c26f9b087"],"summary":"Change whether a release is required, or its connecting code","tags":["Deployment Groups"],"method":"patch","type":"path","servers":["ef03cf9c-7e55-4c7c-a5e0-452fab9c6eca"],"path":"/api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases/{number}","baseUrlOptions":["https://manage.nervescloud.com"],"title":"Change whether a release is required, or its connecting code","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"f95452da-9725-4c91-a0f7-b551b473b023":{"description":"Organization Name","example":"example_org","in":"path","name":"org_name","required":true,"schema":{"type":"string","isRequired":true,"description":"Organization Name","uniqueKey":"","typeLabel":"string"}},"6134a75f-b6c1-4127-9119-eea27b8a2a0c":{"description":"Product Name","example":"example_product","in":"path","name":"product_name","required":true,"schema":{"type":"string","isRequired":true,"description":"Product Name","uniqueKey":"","typeLabel":"string"}},"d55d69da-5190-4a55-8848-0e8447d32160":{"description":"Deployment Group Name","example":"production","in":"path","name":"name","required":true,"schema":{"type":"string","isRequired":true,"description":"Deployment Group Name","uniqueKey":"","typeLabel":"string"}},"122edaa5-2fdd-4f87-9312-e3327807c23e":{"description":"Release number within the deployment group","example":3,"in":"path","name":"number","required":true,"schema":{"type":"integer","isRequired":true,"description":"Release number within the deployment group","uniqueKey":"","typeLabel":"integer"}}},"requestBody":{"content":{"application/json":{"schema":{"description":"PATCH body for changing a release. Only these fields can change once a release is made; any left out keep their value.","example":{"connecting_code":"Logger.info(\"connected\")","connecting_code_mode":"first","required":true},"properties":{"connecting_code":{"oneOf":[{"description":"Elixir run on a device when it connects, as long as this release is the one it is sent. Null or an empty string removes it.","type":"string","uniqueKey":"connecting_code.oneOf.0","typeLabel":"string"},{"description":"Elixir run on a device when it connects, as long as this release is the one it is sent. Null or an empty string removes it.","type":"null","uniqueKey":"connecting_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"connecting_code","typeLabel":"string | null"},"connecting_code_mode":{"description":"Where the release's connecting code runs relative to the deployment group's: \"first\" (before it), \"last\" (after it) or \"override\" (instead of it)","enum":["first","last","override"],"type":"string","uniqueKey":"connecting_code_mode","typeLabel":"enum\u003cstring>"},"required":{"description":"Devices that have not reached a required release are updated to it before any newer release","type":"boolean","uniqueKey":"required","typeLabel":"boolean"}},"title":"DeploymentReleaseUpdateRequest","type":"object","uniqueKey":"","typeLabel":"DeploymentReleaseUpdateRequest · object"},"examples":{"Example":{"title":"Example","value":{"connecting_code":"Logger.info(\"connected\")","connecting_code_mode":"first","required":true}}},"exampleType":"generated"}},"description":"Release update request body","required":true,"exampleType":"generated"},"responses":{"c8f1a7f1-0b10-48b4-ad03-294fe15b7c9f":{"content":{"application/json":{"schema":{"description":"A single release","properties":{"data":{"example":{"archive_uuid":null,"connecting_code":null,"connecting_code_mode":"last","created_by":{"email":"jane@example.com","name":"Jane Doe","type":"user"},"delta_status":"ready","description":"Fixes the Wi-Fi reconnect loop","firmware":{"architecture":"arm","platform":"rpi0","uuid":"d9f8c63a-1234-5678-abcd-ef0123456789","version":"1.0.1"},"inserted_at":"2024-01-01T00:00:00","is_current":true,"notes":"Roll out after the field test passes","number":3,"required":false,"updated_at":"2024-01-01T00:00:00"},"properties":{"archive_uuid":{"oneOf":[{"type":"string","uniqueKey":"data.archive_uuid.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.archive_uuid.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.archive_uuid","typeLabel":"string | null"},"connecting_code":{"oneOf":[{"description":"Elixir run on a device when it connects, as long as this release is the one it is sent","type":"string","uniqueKey":"data.connecting_code.oneOf.0","typeLabel":"string"},{"description":"Elixir run on a device when it connects, as long as this release is the one it is sent","type":"null","uniqueKey":"data.connecting_code.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.connecting_code","typeLabel":"string | null"},"connecting_code_mode":{"description":"Where the release's connecting code runs relative to the deployment group's: \"first\" (before it), \"last\" (after it) or \"override\" (instead of it)","enum":["first","last","override"],"type":"string","uniqueKey":"data.connecting_code_mode","typeLabel":"enum\u003cstring>"},"created_by":{"oneOf":[{"description":"Who created the release: a user, or a product API key. Null for releases made before authors were recorded.","example":{"email":"jane@example.com","name":"Jane Doe","type":"user"},"properties":{"name":{"type":"string","isRequired":true,"uniqueKey":"data.created_by.oneOf.0.name","typeLabel":"string"},"type":{"enum":["user","api_key"],"type":"string","isRequired":true,"uniqueKey":"data.created_by.oneOf.0.type","typeLabel":"enum\u003cstring>"},"email":{"description":"Only for a user","type":"string","uniqueKey":"data.created_by.oneOf.0.email","typeLabel":"string"}},"required":["type","name"],"title":"Author","type":"object","uniqueKey":"data.created_by.oneOf.0","typeLabel":"Author · object"},{"description":"Who created the release: a user, or a product API key. Null for releases made before authors were recorded.","example":{"email":"jane@example.com","name":"Jane Doe","type":"user"},"properties":{"email":{"description":"Only for a user","type":"string"},"name":{"type":"string"},"type":{"enum":["user","api_key"],"type":"string"}},"required":["type","name"],"title":"Author","type":"null","uniqueKey":"data.created_by.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.created_by","typeLabel":"Author · object | null"},"delta_status":{"description":"Whether the deltas this release's devices need are ready: \"preparing\" while one is still being built, \"failed\" if one gave up","enum":["ready","preparing","failed"],"type":"string","uniqueKey":"data.delta_status","typeLabel":"enum\u003cstring>"},"description":{"oneOf":[{"type":"string","uniqueKey":"data.description.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.description.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.description","typeLabel":"string | null"},"firmware":{"description":"The firmware a release sends","example":{"architecture":"arm","platform":"rpi0","uuid":"d9f8c63a-1234-5678-abcd-ef0123456789","version":"1.0.0"},"properties":{"architecture":{"type":"string","uniqueKey":"data.firmware.architecture","typeLabel":"string"},"platform":{"type":"string","uniqueKey":"data.firmware.platform","typeLabel":"string"},"uuid":{"type":"string","uniqueKey":"data.firmware.uuid","typeLabel":"string"},"version":{"type":"string","uniqueKey":"data.firmware.version","typeLabel":"string"}},"title":"ReleaseFirmware","type":"object","uniqueKey":"data.firmware","typeLabel":"ReleaseFirmware · object"},"inserted_at":{"description":"When it was created, in UTC. Written without an offset, such as `2026-01-15T09:34:27`, so not an RFC 3339 `date-time`.","type":"string","uniqueKey":"data.inserted_at","typeLabel":"string"},"is_current":{"description":"Whether this is the deployment group's current release","type":"boolean","uniqueKey":"data.is_current","typeLabel":"boolean"},"notes":{"oneOf":[{"type":"string","uniqueKey":"data.notes.oneOf.0","typeLabel":"string"},{"type":"null","uniqueKey":"data.notes.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.notes","typeLabel":"string | null"},"number":{"description":"The release's number within its deployment group, from 1","type":"integer","uniqueKey":"data.number","typeLabel":"integer"},"required":{"description":"Devices that have not reached a required release are updated to it before any newer release","type":"boolean","uniqueKey":"data.required","typeLabel":"boolean"},"updated_at":{"description":"When it was last changed, in UTC. Written without an offset, such as `2026-01-15T09:34:27`, so not an RFC 3339 `date-time`.","type":"string","uniqueKey":"data.updated_at","typeLabel":"string"}},"title":"DeploymentRelease","type":"object","uniqueKey":"data","typeLabel":"DeploymentRelease · object"}},"title":"DeploymentReleaseResponse","type":"object","uniqueKey":"","typeLabel":"DeploymentReleaseResponse · object"},"examples":{"Example":{"title":"Example","value":{"data":{"archive_uuid":null,"connecting_code":null,"connecting_code_mode":"last","created_by":{"email":"jane@example.com","name":"Jane Doe","type":"user"},"delta_status":"ready","description":"Fixes the Wi-Fi reconnect loop","firmware":{"architecture":"arm","platform":"rpi0","uuid":"d9f8c63a-1234-5678-abcd-ef0123456789","version":"1.0.1"},"inserted_at":"2024-01-01T00:00:00","is_current":true,"notes":"Roll out after the field test passes","number":3,"required":false,"updated_at":"2024-01-01T00:00:00"}}}},"exampleType":"generated"}},"description":"Release response","exampleType":"generated"},"86561896-a0ce-465e-85bd-8b1d7f012a14":{"content":{"application/json":{"schema":{"description":"Error response","example":{"errors":{"detail":"Resource Not Found or Authorization Insufficient"}},"properties":{"errors":{"properties":{"detail":{"type":"string","uniqueKey":"errors.detail","typeLabel":"string"}},"type":"object","uniqueKey":"errors","typeLabel":"object"}},"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"errors":{"detail":"Resource Not Found or Authorization Insufficient"}}}},"exampleType":"generated"}},"description":"Unauthorized","exampleType":"generated"},"8216f271-51de-4d89-851a-00c3a0dd69f1":{"content":{"application/json":{"schema":{"description":"Error response","example":{"errors":{"detail":"Resource Not Found or Authorization Insufficient"}},"properties":{"errors":{"properties":{"detail":{"type":"string","uniqueKey":"errors.detail","typeLabel":"string"}},"type":"object","uniqueKey":"errors","typeLabel":"object"}},"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"errors":{"detail":"Resource Not Found or Authorization Insufficient"}}}},"exampleType":"generated"}},"description":"Forbidden","exampleType":"generated"},"f9017afb-9ca4-4524-9b37-0be93a0917e5":{"content":{"application/json":{"schema":{"description":"Error response","example":{"errors":{"detail":"Resource Not Found or Authorization Insufficient"}},"properties":{"errors":{"properties":{"detail":{"type":"string","uniqueKey":"errors.detail","typeLabel":"string"}},"type":"object","uniqueKey":"errors","typeLabel":"object"}},"title":"ErrorResponse","type":"object","uniqueKey":"","typeLabel":"ErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"errors":{"detail":"Resource Not Found or Authorization Insufficient"}}}},"exampleType":"generated"}},"description":"Not Found","exampleType":"generated"},"1dc137de-ff1f-4dcd-a9d1-19bb9633e9c5":{"content":{"application/json":{"schema":{"description":"Validation error response","example":{"errors":{"identifier":["can't be blank"]}},"properties":{"errors":{"additionalProperties":{"items":{"type":"string","uniqueKey":"errors.additionalProperties.items.[INDEX]","typeLabel":"string"},"type":"array","uniqueKey":"errors.additionalProperties","typeLabel":"string[]"},"type":"object","uniqueKey":"errors","typeLabel":"object"}},"title":"ChangesetErrorResponse","type":"object","uniqueKey":"","typeLabel":"ChangesetErrorResponse · object"},"examples":{"Example":{"title":"Example","value":{"errors":{"identifier":["can't be blank"]}}}},"exampleType":"generated"}},"description":"Unprocessable Entity","exampleType":"generated"}},"security":{"5401ef02-5748-4be9-a56c-bc0c26f9b087":{"bearer_auth":{"description":"A user API token, or a product API key created in a product's settings.\n\nA product API key only works on the routes for its own product, under\n`/api/orgs/{org_name}/products/{product_name}`, and on `/api/devices/{identifier}`\nfor that product's devices. What it may do there is decided by the role it\nholds, the same way a member's role decides what they may do.\n","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearer_auth"}}},"servers":{"ef03cf9c-7e55-4c7c-a5e0-452fab9c6eca":{"url":"https://manage.nervescloud.com","variables":{}}},"processedSecurityOptions":[{"schemes":[{"scheme":{"description":"A user API token, or a product API key created in a product's settings.\n\nA product API key only works on the routes for its own product, under\n`/api/orgs/{org_name}/products/{product_name}`, and on `/api/devices/{identifier}`\nfor that product's devices. What it may do there is decided by the role it\nholds, the same way a member's role decides what they may do.\n","scheme":"bearer","type":"http","scopes":[],"schemeName":"bearer_auth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"A user API token, or a product API key created in a product's settings.\n\nA product API key only works on the routes for its own product, under\n`/api/orgs/{org_name}/products/{product_name}`, and on `/api/devices/{identifier}`\nfor that product's devices. What it may do there is decided by the role it\nholds, the same way a member's role decides what they may do.\n","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"bearer_auth","name":"Authorization"}],"title":"bearer_auth"}]},"originalFileLocation":"https://manage.nervescloud.com/api/openapi"},"subdomain":"nervescloud","siteName":"NervesHub","title":"Change whether a release is required, or its connecting code - NervesHub","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-25T21:10:15.676Z","originalFileLocation":"api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code.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=\"The firmware, archive, description and notes of a release are fixed once it\u0026#x27;s made. Create a new release to send different firmware.\">\u003cmeta data-mint-head name=\"application-name\" content=\"NervesHub\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_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/nervescloud/N1H5AzYnduZJqgXB/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Change whether a release is required, or its connecting code - NervesHub\">\u003cmeta data-mint-head property=\"og:description\" content=\"The firmware, archive, description and notes of a release are fixed once it\u0026#x27;s made. Create a new release to send different firmware.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"NervesHub\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://nervescloud.mintlify.site/_mintlify/api/og/v2?division=Deployment+Groups\u0026amp;title=Change+whether+a+release+is+required%2C+or+its+connecting+code\u0026amp;description=The+firmware%2C+archive%2C+description+and+notes+of+a+release+are+fixed+once+it%27s+made.%0ACreate+a+new+release+to+send+different+firmware.%0A\u0026amp;theme=6ded47518f3851c1eac87023\u0026amp;signature=bcec4c06ddaa7f39f6bc6e1b07a62b00fc6017ffd5bae8ae2ceb9ae94a0504f2\">\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=\"Change whether a release is required, or its connecting code - NervesHub\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The firmware, archive, description and notes of a release are fixed once it\u0026#x27;s made. Create a new release to send different firmware.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://nervescloud.mintlify.site/_mintlify/api/og/v2?division=Deployment+Groups\u0026amp;title=Change+whether+a+release+is+required%2C+or+its+connecting+code\u0026amp;description=The+firmware%2C+archive%2C+description+and+notes+of+a+release+are+fixed+once+it%27s+made.%0ACreate+a+new+release+to+send+different+firmware.%0A\u0026amp;theme=6ded47518f3851c1eac87023\u0026amp;signature=bcec4c06ddaa7f39f6bc6e1b07a62b00fc6017ffd5bae8ae2ceb9ae94a0504f2\">\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/nervescloud/N1H5AzYnduZJqgXB/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"NervesHub\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#6366f1\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.nerves-hub.org/#organization\",\"name\":\"NervesHub\",\"url\":\"https://docs.nerves-hub.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/nervescloud/5bz8_cB7diUKfY2L/images/logo-lockup-light-t.png?fit=max\u0026auto=format\u0026n=5bz8_cB7diUKfY2L\u0026q=85\u0026s=4fcfcec9804e3d1c56649d112bd05a07\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.nerves-hub.org#website\",\"name\":\"NervesHub\",\"url\":\"https://docs.nerves-hub.org\",\"publisher\":{\"@id\":\"https://docs.nerves-hub.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code#webpage\",\"url\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code\",\"name\":\"Change whether a release is required, or its connecting code\",\"description\":\"The firmware, archive, description and notes of a release are fixed once it's made. Create a new release to send different firmware.\",\"dateModified\":\"2026-11-25T21:10:15.676Z\",\"isPartOf\":{\"@id\":\"https://docs.nerves-hub.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Endpoints\",\"item\":\"https://docs.nerves-hub.org/api-reference/products/retrieves-a-products-details\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Deployment Groups\",\"item\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/show-one-of-a-deployment-groups-releases\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Change whether a release is required, or its connecting code\",\"item\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code#apireference\",\"headline\":\"Change whether a release is required, or its connecting code\",\"name\":\"Change whether a release is required, or its connecting code\",\"description\":\"The firmware, archive, description and notes of a release are fixed once it's made. Create a new release to send different firmware.\",\"url\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code\",\"mainEntityOfPage\":{\"@id\":\"https://docs.nerves-hub.org/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code#webpage\"},\"dateModified\":\"2026-11-25T21:10:15.676Z\",\"publisher\":{\"@id\":\"https://docs.nerves-hub.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.nerves-hub.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"NervesHub\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"NervesHub\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code.md","siteName":"NervesHub","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/overview"}]},{"tab":"CLI","pages":[{"title":"CLI","href":"/cli/installation"}]},{"tab":"HTTP API","groups":[{"group":"Basics","pages":[{"title":"HTTP API overview","sidebarTitle":"Overview","href":"/api/overview"},{"title":"API authentication","sidebarTitle":"Authentication","href":"/api/authentication"}]},{"group":"Endpoints","pages":[{"group":"Products","pages":[{"title":"Retrieves a Products details","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}","href":"/api-reference/products/retrieves-a-products-details"},{"title":"Update a Product's settings","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi put /api/orgs/{org_name}/products/{product_name}","href":"/api-reference/products/update-a-products-settings"},{"title":"Delete an Organizations Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}","href":"/api-reference/products/delete-an-organizations-product"},{"title":"Update a Product's settings","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi patch /api/orgs/{org_name}/products/{product_name}","href":"/api-reference/products/update-a-products-settings-1"},{"title":"List all Products for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products","href":"/api-reference/products/list-all-products-for-an-organization"},{"title":"Create a new Product in an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products","href":"/api-reference/products/create-a-new-product-in-an-organization"}]},{"group":"Support Scripts","pages":[{"title":"List Support Scripts","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/scripts","href":"/api-reference/support-scripts/list-support-scripts"},{"title":"Create a Support Script","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/scripts","href":"/api-reference/support-scripts/create-a-support-script"},{"title":"Get a Support Script by ID","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/scripts/{id}","href":"/api-reference/support-scripts/get-a-support-script-by-id"},{"title":"Update a Support Script","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi put /api/orgs/{org_name}/products/{product_name}/scripts/{id}","href":"/api-reference/support-scripts/update-a-support-script"},{"title":"Delete a Support Script by ID","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/scripts/{id}","href":"/api-reference/support-scripts/delete-a-support-script-by-id"}]},{"group":"Iroh Endpoints","pages":[{"title":"Show an Iroh Endpoint for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/iroh_endpoints/{identifier}","href":"/api-reference/iroh-endpoints/show-an-iroh-endpoint-for-an-organization"},{"title":"Delete an Iroh Endpoint for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/iroh_endpoints/{identifier}","href":"/api-reference/iroh-endpoints/delete-an-iroh-endpoint-for-an-organization"},{"title":"List all Iroh Endpoints for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/iroh_endpoints","href":"/api-reference/iroh-endpoints/list-all-iroh-endpoints-for-an-organization"},{"title":"Register an Iroh Endpoint for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/iroh_endpoints","href":"/api-reference/iroh-endpoints/register-an-iroh-endpoint-for-an-organization"}]},{"group":"CA Certificates","pages":[{"title":"List all CA Certificates for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/ca_certificates","href":"/api-reference/ca-certificates/list-all-ca-certificates-for-an-organization"},{"title":"Create a CA Certificate for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/ca_certificates","href":"/api-reference/ca-certificates/create-a-ca-certificate-for-an-organization"},{"title":"View an Organization's CA Certificate","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/ca_certificates/{serial}","href":"/api-reference/ca-certificates/view-an-organizations-ca-certificate"},{"title":"Delete an Organization's CA Certificate","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/ca_certificates/{serial}","href":"/api-reference/ca-certificates/delete-an-organizations-ca-certificate"},{"title":"Generate a token for verifying the ownership of a CA Certificate","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/ca_certificates/verification_token","href":"/api-reference/ca-certificates/generate-a-token-for-verifying-the-ownership-of-a-ca-certificate"}]},{"group":"Device Logs","pages":[{"title":"List the Log Lines a Device has sent","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/logs","href":"/api-reference/device-logs/list-the-log-lines-a-device-has-sent"}]},{"group":"Auth","pages":[{"title":"Authenticate a user (deprecated)","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/users/login","href":"/api-reference/auth/authenticate-a-user-deprecated"},{"title":"Check the CLI authentication progress","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/auth/cli_session/{token}","href":"/api-reference/auth/check-the-cli-authentication-progress"},{"title":"Start the CLI authentication process","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/auth/cli_session","href":"/api-reference/auth/start-the-cli-authentication-process"},{"title":"Show details of the currently logged in user","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/users/me","href":"/api-reference/auth/show-details-of-the-currently-logged-in-user"},{"title":"Authenticate a user","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/users/auth","href":"/api-reference/auth/authenticate-a-user"}]},{"group":"Deployment Groups","pages":[{"title":"Show one of a Deployment Group's releases","description":null,"deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases/{number}","href":"/api-reference/deployment-groups/show-one-of-a-deployment-groups-releases"},{"title":"Change whether a release is required, or its connecting code","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi patch /api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases/{number}","href":"/api-reference/deployment-groups/change-whether-a-release-is-required-or-its-connecting-code"},{"title":"List a Deployment Group's releases, newest first","description":null,"deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases","href":"/api-reference/deployment-groups/list-a-deployment-groups-releases-newest-first"},{"title":"Create a release, which becomes the Deployment Group's current release","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/deployments/{name}/releases","href":"/api-reference/deployment-groups/create-a-release-which-becomes-the-deployment-groups-current-release"},{"title":"Show a Deployment Group","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/deployments/{name}","href":"/api-reference/deployment-groups/show-a-deployment-group"},{"title":"Update a Deployment Group","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi put /api/orgs/{org_name}/products/{product_name}/deployments/{name}","href":"/api-reference/deployment-groups/update-a-deployment-group"},{"title":"Delete a Product's Deployment Group","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/deployments/{name}","href":"/api-reference/deployment-groups/delete-a-products-deployment-group"},{"title":"List all Deployment Groups for a Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/deployments","href":"/api-reference/deployment-groups/list-all-deployment-groups-for-a-product"},{"title":"Create a new Deployment Group for a Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/deployments","href":"/api-reference/deployment-groups/create-a-new-deployment-group-for-a-product"}]},{"group":"Device Certificates","pages":[{"title":"Show a Certificate for a Device","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/certificates/{serial}","href":"/api-reference/device-certificates/show-a-certificate-for-a-device"},{"title":"Delete a Device's Certificate","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/certificates/{serial}","href":"/api-reference/device-certificates/delete-a-devices-certificate"},{"title":"List all Certificates for a Device","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/certificates","href":"/api-reference/device-certificates/list-all-certificates-for-a-device"},{"title":"Create a Certificate for a Device","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/certificates","href":"/api-reference/device-certificates/create-a-certificate-for-a-device"}]},{"group":"Devices","pages":[{"title":"Request a Device upgrade to a different Firmware","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/upgrade","href":"/api-reference/devices/request-a-device-upgrade-to-a-different-firmware"},{"title":"Request a Device reboot","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/reboot","href":"/api-reference/devices/request-a-device-reboot"},{"title":"Clear the penalty box for a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/penalty","href":"/api-reference/devices/clear-the-penalty-box-for-a-device"},{"title":"Bulk create Devices from a manifest. Only a Microchip Trust and Go manifest is currently supported. The manifest is read before the import starts: an unknown format, or an entry that can't be read, gets a 422 keyed by where each problem is, such as `entries[3].payload`, and no device is created.","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/import","href":"/api-reference/devices/bulk-create-devices-from-a-manifest-only-a-microchip-trust-and-go-manifest-is-currently-supported-the-manifest-is-read-before-the-import-starts:-an-unknown-format-or-an-entry-that-cant-be-read-gets-a-422-keyed-by-where-each-problem-is-such-as-`entries[3]payload`-and-no-device-is-created"},{"title":"Request a Device run some Elixir code in it's console connection","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/code","href":"/api-reference/devices/request-a-device-run-some-elixir-code-in-its-console-connection"},{"title":"List Devices","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices","href":"/api-reference/devices/list-devices"},{"title":"Create a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices","href":"/api-reference/devices/create-a-device"},{"title":"Request a Device reconnect","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/reconnect","href":"/api-reference/devices/request-a-device-reconnect"},{"title":"Show a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}","href":"/api-reference/devices/show-a-device"},{"title":"Update a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi put /api/orgs/{org_name}/products/{product_name}/devices/{identifier}","href":"/api-reference/devices/update-a-device"},{"title":"Delete a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/devices/{identifier}","href":"/api-reference/devices/delete-a-device"},{"title":"Test a Devices Certificate authentication. Only a device in the product in the path matches.","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/auth","href":"/api-reference/devices/test-a-devices-certificate-authentication-only-a-device-in-the-product-in-the-path-matches"},{"title":"Move a Device to a different Product","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/move","href":"/api-reference/devices/move-a-device-to-a-different-product"},{"title":"Send a Support Script to a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/scripts/{name_or_id}","href":"/api-reference/devices/send-a-support-script-to-a-device"}]},{"group":"Webhooks","pages":[{"title":"Regenerate a Webhook's Signing Secret","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/webhooks/{id}/regenerate_secret","href":"/api-reference/webhooks/regenerate-a-webhooks-signing-secret"},{"title":"Send a Test Event to a Webhook","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/webhooks/{id}/test","href":"/api-reference/webhooks/send-a-test-event-to-a-webhook"},{"title":"List an Organization's Webhooks","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/webhooks","href":"/api-reference/webhooks/list-an-organizations-webhooks"},{"title":"Add a Webhook to an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/webhooks","href":"/api-reference/webhooks/add-a-webhook-to-an-organization"},{"title":"Get a Webhook","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/webhooks/{id}","href":"/api-reference/webhooks/get-a-webhook"},{"title":"Update a Webhook","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi put /api/orgs/{org_name}/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook"},{"title":"Delete a Webhook","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/webhooks/{id}","href":"/api-reference/webhooks/delete-a-webhook"},{"title":"Update a Webhook","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi patch /api/orgs/{org_name}/webhooks/{id}","href":"/api-reference/webhooks/update-a-webhook-1"}]},{"group":"Devices (short URL)","pages":[{"title":"Request a Device reconnect","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/devices/{identifier}/reconnect","href":"/api-reference/devices-short-url/request-a-device-reconnect"},{"title":"List the Log Lines a Device has sent","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/devices/{identifier}/logs","href":"/api-reference/devices-short-url/list-the-log-lines-a-device-has-sent"},{"title":"Request a Device run some Elixir code in it's console connection","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/devices/{identifier}/code","href":"/api-reference/devices-short-url/request-a-device-run-some-elixir-code-in-its-console-connection"},{"title":"Send a Support Script to a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/devices/{identifier}/scripts/{name_or_id}","href":"/api-reference/devices-short-url/send-a-support-script-to-a-device"},{"title":"Request a Device upgrade to a different Firmware","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/devices/{identifier}/upgrade","href":"/api-reference/devices-short-url/request-a-device-upgrade-to-a-different-firmware"},{"title":"Clear the penalty box for a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/devices/{identifier}/penalty","href":"/api-reference/devices-short-url/clear-the-penalty-box-for-a-device"},{"title":"List the Metric Reports a Device has sent","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/devices/{identifier}/metrics","href":"/api-reference/devices-short-url/list-the-metric-reports-a-device-has-sent"},{"title":"List Support Scripts","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/devices/{identifier}/scripts","href":"/api-reference/devices-short-url/list-support-scripts"},{"title":"Request a Device reboot","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/devices/{identifier}/reboot","href":"/api-reference/devices-short-url/request-a-device-reboot"},{"title":"Move a Device to a different Product","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/devices/{identifier}/move","href":"/api-reference/devices-short-url/move-a-device-to-a-different-product"},{"title":"Show a Device","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/devices/{identifier}","href":"/api-reference/devices-short-url/show-a-device"}]},{"group":"Firmwares","pages":[{"title":"Show a Firmware","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/firmwares/{uuid}","href":"/api-reference/firmwares/show-a-firmware"},{"title":"Delete a Firmware","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/firmwares/{uuid}","href":"/api-reference/firmwares/delete-a-firmware"},{"title":"List all Firmwares for a Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/firmwares","href":"/api-reference/firmwares/list-all-firmwares-for-a-product"},{"title":"Upload a Firmware for a Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/firmwares","href":"/api-reference/firmwares/upload-a-firmware-for-a-product"},{"title":"Download a Firmware","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/firmwares/{uuid}/download","href":"/api-reference/firmwares/download-a-firmware"}]},{"group":"Signing Keys","pages":[{"title":"Show a Signing Key for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/keys/{name}","href":"/api-reference/signing-keys/show-a-signing-key-for-an-organization"},{"title":"Delete a Signing Key for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/keys/{name}","href":"/api-reference/signing-keys/delete-a-signing-key-for-an-organization"},{"title":"List all Firmware and Archive Signing Keys for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/keys","href":"/api-reference/signing-keys/list-all-firmware-and-archive-signing-keys-for-an-organization"},{"title":"Create a new Signing Key for an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/keys","href":"/api-reference/signing-keys/create-a-new-signing-key-for-an-organization"}]},{"group":"Organization Members","pages":[{"title":"List all members of an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/users","href":"/api-reference/organization-members/list-all-members-of-an-organization"},{"title":"Invite a user to an Organization","deprecated":true,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/users","href":"/api-reference/organization-members/invite-a-user-to-an-organization"},{"title":"Show membership details of a user in an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/users/{user_email}","href":"/api-reference/organization-members/show-membership-details-of-a-user-in-an-organization"},{"title":"Update a user's role in an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi put /api/orgs/{org_name}/users/{user_email}","href":"/api-reference/organization-members/update-a-users-role-in-an-organization"},{"title":"Remove a user from an Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/users/{user_email}","href":"/api-reference/organization-members/remove-a-user-from-an-organization"},{"title":"Invite a user to the Organization","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/users/invite","href":"/api-reference/organization-members/invite-a-user-to-the-organization"}]},{"group":"Archives","pages":[{"title":"Show an Archive","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/archives/{uuid}","href":"/api-reference/archives/show-an-archive"},{"title":"Download an Archive","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/archives/{uuid}/download","href":"/api-reference/archives/download-an-archive"},{"title":"List all Archives for a Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/archives","href":"/api-reference/archives/list-all-archives-for-a-product"},{"title":"Upload an Archive for a Product","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/archives","href":"/api-reference/archives/upload-an-archive-for-a-product"}]},{"group":"Device Metrics","pages":[{"title":"List the Metric Reports a Device has sent","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/metrics","href":"/api-reference/device-metrics/list-the-metric-reports-a-device-has-sent"}]},{"group":"Device Shared Secrets","pages":[{"title":"Deactivate a Device's Shared Secret","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi delete /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/shared_secrets/{key}","href":"/api-reference/device-shared-secrets/deactivate-a-devices-shared-secret"},{"title":"List a Device's Shared Secret Keys","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/shared_secrets","href":"/api-reference/device-shared-secrets/list-a-devices-shared-secret-keys"},{"title":"Create a Shared Secret for a Device","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi post /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/shared_secrets","href":"/api-reference/device-shared-secrets/create-a-shared-secret-for-a-device"}]},{"group":"Network Identities","pages":[{"title":"List the Network Identities a Device holds","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs/{org_name}/products/{product_name}/devices/{identifier}/network_identities","href":"/api-reference/network-identities/list-the-network-identities-a-device-holds"}]},{"group":"Platform Status","pages":[{"title":"Check platform status","deprecated":false,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /status/alive","href":"/api-reference/platform-status/check-platform-status"}]},{"group":"Organizations","pages":[{"title":"List all Organizations the authenticated user belongs to","deprecated":null,"version":null,"openapi":"https://manage.nervescloud.com/api/openapi get /api/orgs","href":"/api-reference/organizations/list-all-organizations-the-authenticated-user-belongs-to"}]}]}]},{"tab":"Device API","pages":[{"title":"Device API","href":"/device-api/websocket-overview"}]}]},"basePath":"","title":"Change whether a release is required, or its connecting code - NervesHub","deploymentId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","buildId":"dpl_9bQLTw9nc2h9csDGYcKwWenPcQWn","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-D4yvBxwa.js","snippetPresets-CkhhQaIQ.js","utils-XnMGX2lF.js","style-to-object-BY3JEAdk.js","utils-CRXL1dwr.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-DvwRKZnA.js","conditional-requirements-CFM0id0Q.js","cloneDeep-DYtgUc7n.js","_Uint8Array-D8z7zjjJ.js","isObject-FP1Yky1u.js","ApiExamples-RYQSJVS4.js","usePlaygroundInputsStore-k_R_BTDL.js","shallow-BwVhzryZ.js","isEqual-Cx5TQjMc.js","CodeSnippets-BDe2dS5N.js","CodeSnippet-C1QlaNYl.js","use-playground-group-access-DyQ_1IIe.js","Page-DQd9HN9r.js","api-description-markdown-BpDftTKT.js","DynamicMarkdown-CZT_WAnN.js","SectionHeading-K1iuDm9j.js","MethodPill-Dx3JIwHJ.js","getPastedJson-buPTdYs_.js","Check2Icon-DmMrzBYX.js","axios-CsQoIw0U.js","Markdown-erv2ryQz.js","AssistantPageLink-DJ01X1Sn.js","dist-D9mz3EIS.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}