Skip to main content
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

str
required
The ID of the Agent Vault project that the delegation is in.
str
required
The ID of the machine identity.
List[str]
The IDs of the users to remove (up to 100).
List[str]
The IDs of the groups to remove (up to 100).

Returns

Optional[AgentVaultDelegation]
The delegation after the change, with missingAccessBundles, or None if Infisical deleted the delegation.