detach_policy_from_agent
Remove a policy from an agent without deleting it. The policy remains available for other agents. Verify detachment by checking the server response and using list_agent_policies.
Instructions
Unscope a policy from a agent. This only removes the link — the policy itself is not deleted and stays available to attach elsewhere. The response is the SERVER'S answer, not a success claim by this connector: a detach that had nothing to remove reports that instead of failing, so read the body rather than assuming the link is gone. Confirm what is left with list_agent_policies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | Yes | ||
| policyId | Yes |