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)
| 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( |