MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / retire_agent

Method retire_agent

atomic-remote/src/storage.rs:467–469  ·  view source on GitHub ↗

Retire an agent: revoke its delegations and mark the key unusable. Past work stays attributable — the identity row is not deleted, so a change recorded last month still resolves to a name rather than a dangling key.

(&self, agent_id: &str)

Source from the content-addressed store, hash-verified

465 /// change recorded last month still resolves to a name rather than a
466 /// dangling key.
467 pub async fn retire_agent(&self, agent_id: &str) -> Result<(), RemoteError> {
468 self.delete(&format!("/identities/agents/{agent_id}")).await
469 }
470
471 /// Upload a new or renewed delegation certificate.
472 pub async fn push_delegation(

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected