Releasing an instance for full repair removes the tenant assignment and lets NICo clean, quarantine, and route the underlying machine through the full repair workflow. Use this workflow when the tenant cannot keep using the instance, when online repair failed, or when repair requires disruptive work such as rebooting, reimaging, component replacement, or deep diagnostics.
For non-disruptive repair while the tenant keeps the instance, see Online Repair.
If the instance is already in online repair, clear online repair before using this workflow. NICo does not allow releasing an instance for full repair while the instance is still in online repair.
This page is intended for tenant admins and platform operators writing tenant-facing runbooks.
The caller must be a tenant admin for the organization that owns the instance. The instance must belong to the tenant organization in the request.
When the tenant releases an instance with a machine health issue:
tenant-reported-issue health override is applied so the machine is not used for normal tenant allocation.This workflow is intentionally different from online repair. The tenant gives up the instance, and the machine returns to the available pool only after repair and validation are complete.
The REST API operation is:
The OpenAPI operation ID is delete-instance. In tenant runbooks, this operation is commonly described as “release instance” because it releases the tenant’s instance and starts cleanup.
Restish exposes operation IDs as commands, so the command shape is:
For example, in staging:
carbide-stg is the Restish API profile or environment. Replace it with the profile for your deployment.
Use Restish help to confirm the operation signature in the target environment:
The delete-instance operation accepts an optional JSON request body. When releasing for repair, include the body with shell redirection (< release-for-repair.json) so the machine health issue is reported with the release.
Restish prints the HTTP status and JSON error body when a request fails. Use that response body when troubleshooting validation, permission, or workflow errors.
Collect the following values:
Confirm these preconditions:
Ready.Ready.When full repair follows a failed online repair attempt, update the instance labels before release. This makes the failed online repair status visible in tenant and operator tooling while the release is being processed.
First fetch the instance and preserve any labels that should remain:
Instance label updates replace the full label map. Labels not included in the update request are removed. Labels are limited to 10 key/value pairs, so use the minimum failure labels if the instance is already near that limit.
Example online-repair-failed-labels.json:
Use the update-instance operation:
Use at least onlineRepair.status: Failed. Add onlineRepair.escalation and onlineRepair.failureReason when label capacity permits.
Create release-for-repair.json:
Run:
Expected result:
202 Accepted.machineHealthIssue is optional for a normal instance release, but it should be provided when releasing for repair.
Use the issue details to include observed symptoms, workload impact, timestamps, component identifiers, and any online repair attempt that already occurred.
Normal tenants should omit isRepairTenant or set it to false.
isRepairTenant: true is for repair tenants that are releasing a machine after investigation or repair. It requires the tenant to have the targeted instance creation capability. Do not set this flag for the original tenant’s release-for-repair request.
After the release request is accepted:
repair_status, and release it back to NICo.The original tenant does not move this instance back to Ready. Returning the same assignment to Ready is the online repair workflow, not the full repair release workflow.
Use the deployment’s normal instance and machine inspection commands. With Restish, the common pattern is:
Check that:
Provider or repair operations can also inspect machine health overrides with the admin tooling described in Repair System Integration.
If the tenant still needs to keep the instance assigned and the repair can be attempted without release, use Online Repair instead.