client.agentVault().delegations.removeSubjects() removes users and groups from a machine identity’s delegation. Pass at least one ID. The client must log in as a user or machine identity with the Admin role in the Agent Vault project.
- If the delegation no longer covers a user, the proxy refuses the sessions that the machine identity created on behalf of the user until the delegation covers the user again (to end those sessions for good, revoke them)
- If you remove the last user or group, Infisical deletes the delegation
Parameters
Returns
The delegation after the change, with
missingAccessBundles, or null if Infisical deleted the delegation.