Delete runner in project
Deletes a runner, freeing its quota slot. kosem stops accepting connections from it, and the host cleans up its local state if it reconnects. Environment disks on this runner are deleted with it; remaining environments start fresh on another runner in the pool.
Deletes a runner, freeing its quota slot. kosem stops accepting connections from it, and the host cleans up its local state if it reconnects.
Environment disks on this runner are deleted with it; remaining environments start fresh on another runner in the pool.
bearerAuthorizationBearer <token>An access token, or an API key.
project*stringThe project's ID.
^prj_[0-7][0-9a-hjkmnp-tv-z]{25}$pool*stringThe runner pool's ID.
^rnp_[0-7][0-9a-hjkmnp-tv-z]{25}$runner*stringThe runner's ID.
^rnr_[0-7][0-9a-hjkmnp-tv-z]{25}$No Content
application/json- response
createTime*stringdate-timedisplayName*stringName shown in user interfaces.
host?Last reported host metadata; absent until the runner registers.
name*stringResource name, {pool}/runners/{runner_id}.
paused*booleanWhether the runner is paused from accepting new environments. Existing environments stay on the runner because their disks live on its host.
registerTime?stringdate-timeregistrationExpireTime?stringWhen the registration token expires while pending.
date-timestate*stringRunner status: PENDING (awaiting host registration), EXPIRED (token expired unused), ONLINE (actively syncing) or OFFLINE (no sync for 30 seconds). Counts toward organization runner quota from creation until deletion, except when EXPIRED.
"PENDING""EXPIRED""ONLINE""OFFLINE"syncTime?stringWhen it last synced.
date-timeupdateTime*stringdate-timeusage?The environments on it, and how much of its host they use, as kosem counts it when placing environments. Absent until it registers.
curl -X DELETE 'https://api.kosem.ai/v1/projects/string/runnerPools/string/runners/string'{
"createTime": "2019-08-24T14:15:22Z",
"displayName": "string",
"host": {
"arch": "string",
"diskGib": 0,
"hostname": "string",
"kata": "string",
"memoryMib": 0,
"os": "string",
"runtime": "kata",
"runtimeVersion": "string",
"upgradeAvailable": true,
"vcpus": 0,
"version": "string"
},
"name": "string",
"paused": true,
"registerTime": "2019-08-24T14:15:22Z",
"registrationExpireTime": "2019-08-24T14:15:22Z",
"state": "PENDING",
"syncTime": "2019-08-24T14:15:22Z",
"updateTime": "2019-08-24T14:15:22Z",
"usage": {
"diskGib": 0,
"environments": 0,
"memoryMib": 0,
"runningEnvironments": 0,
"vcpus": 0
}
}