Using networks? If yes you might need to use the "network_id" parameter to get the excluded hosts list you're looking for.
Let's take a look at these scenarios to understand the use of the network_id parameter.
User |
Scenario |
User 1 |
User has access to these networks: Global Default Network, Network 1, Network 2 Is network-id required? No Output includes: Excluded host list from all the networks the user has access to. |
User 2 |
User has access to network: Global Default Network Is network-id required? No Output includes: Excluded host list for Global Default Network. |
User 3 |
User has access to network: Network 1 Is network-id required? Yes Output includes: Excluded host list for Network 1. |
User 4 |
User has access to these networks: Network 1, Network 2, Network 3 Is network-id required? Yes Output includes: Excluded host list for network that is listed in the request. Multiple entries are comma separated (for example, Network+1,Network+2,Network+3). |