client.agent_vault.delegations.remove_subjects() 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
The ID of the Agent Vault project that the delegation is in.
Returns
The delegation after the change, with
missingAccessBundles, or None if Infisical deleted the delegation.