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

Method clear_agent_epoch

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

Clear an agent's epoch, bringing unexpired grants back.

(&self, agent_id: &str)

Source from the content-addressed store, hash-verified

507
508 /// Clear an agent's epoch, bringing unexpired grants back.
509 pub async fn clear_agent_epoch(&self, agent_id: &str) -> Result<(), RemoteError> {
510 self.delete(&format!("/identities/agents/{agent_id}/epoch"))
511 .await
512 }
513
514 /// Invalidate every grant the caller has ever issued, to every agent.
515 ///

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected