Clear an agent's epoch, bringing unexpired grants back.
(&self, agent_id: &str)
| 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 | /// |