Unregister a Runner¶
Unregistration rejects new calls, cleans up associated native sessions, revokes tokens, and deletes ownership and records. Success does not mean the user’s host process stopped or all disk files were deleted. Errors may follow entry into deleting, which ordinary lists/details hide. Retain original IDs and request information for recovery checks.
DELETE https://api.moi.matrixorigin.cn/v5/agent-runners/{id}
Before you call this API¶
Set BASE_URL to the product API prefix https://api.moi.matrixorigin.cn/v5. For private deployments, use the corresponding product API URL.
Request¶
curl --request DELETE \
"$BASE_URL/agent-runners/$RUNNER_ID" \
--header "X-API-Key: $MOI_KEY" \
--header "X-Workspace-ID: $WORKSPACE_ID"
Parameter |
Location |
Type |
Required |
Description |
|---|---|---|---|---|
|
Headers |
string |
Yes |
Target Workspace in the same environment; there is no Workspace path segment. |
|
Path |
string |
Yes |
Accessible Runner ID in the same Workspace, obtained from creation or lists. |
Successful response¶
{
"code": "OK",
"msg": "OK",
"data": {}
}
Field |
Type |
Description |
|---|---|---|
|
string |
OK on success. |
|
string |
Response information; OK on success. |
|
object |
Error responses¶
Errors and recovery boundaries distinguishes Runner, Edge renewal, and compute observations. They do not share one numeric error table.