Fetch one agent by its identity UUID.
(&self, agent_id: &str)
| 456 | |
| 457 | /// Fetch one agent by its identity UUID. |
| 458 | pub async fn get_agent(&self, agent_id: &str) -> Result<AgentIdentityInfo, RemoteError> { |
| 459 | self.get(&format!("/identities/agents/{agent_id}")).await |
| 460 | } |
| 461 | |
| 462 | /// Retire an agent: revoke its delegations and mark the key unusable. |
| 463 | /// |