MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / deleteAgentConfig

Function deleteAgentConfig

scripts/mars-api.mjs:321–323  ·  view source on GitHub ↗

* Soft-delete an Agent Config. harness-api does not check for live * sessions, so the caller guards that; existing sessions keep running * but no new ones can be created from the config.

(configId)

Source from the content-addressed store, hash-verified

319 * but no new ones can be created from the config.
320 */
321 async deleteAgentConfig(configId) {
322 await request("DELETE", `${CONFIGS_PATH}/${configId}`);
323 },
324
325 /**
326 * Cheapest authenticated call that proves the token is valid AND that the

Callers

nothing calls this directly

Calls 1

requestFunction · 0.70

Tested by

no test coverage detected