DELETE
/api/agent-network/policies/{policyId}Delete an Agent Network policy
Deletes an existing Agent Network policy. Use the policyId path parameter to identify the policy; the response confirms its deletion.
policyIdstringrequired
The unique identifier of the Agent Network policy to delete.
200Returns confirmation that the policy was deleted.
400Returned when the request is invalid.
401Returned when authentication is missing or invalid.
403Returned when the authenticated user is not permitted to delete the policy.
404Returned when the policy does not exist.
500Returned when an internal server error occurs.
Error handling
A 400 indicates an invalid request, a 401 indicates missing or invalid authentication, and a 403 indicates insufficient permission. A 404 indicates that the policy was not found, and a 500 indicates an internal server error; the policyId path parameter must identify an existing policy.