client.agentVault().delegations.delete() stops a machine identity from creating sessions on behalf of users. The client must log in as a user or machine identity with the Admin role in the Agent Vault project.
The proxy refuses the sessions that the machine identity already created on behalf of users until a delegation covers those users again. To end those sessions for good, revoke them.
Delete a delegation
Delete a machine identity’s Agent Vault delegation with the Node.js SDK.