InfraServerExclusionsDeleteRequest

InfraServerExclusionsDeleteRequest
Infrastructure Server Exclusions Delete Request

Request to remove servers from the exclusion list for a service category. This is a global exclusion list for all services within a service category.

JSON Example
{
    "site_id": "site-uuid-123",
    "excluded_server_ids": [
        "server-uuid-123",
        "server-uuid-456"
    ],
    "remove_all": false
}
string
site_id
Required  

Required. Scope the removal operation to this site. Exclusions are site-scoped; removing an exclusion on one site does not affect other sites. Obtain valid site IDs from your environment configuration or from a GET /exclusions response.

array of string
excluded_server_ids
Optional

List of server IDs to remove from the global exclusion list. This is the NSX Inventory ID (UUID) for NSX-managed VMs. For non-NSX-managed servers, use the IP address prefixed with IP- (e.g., IP-192.168.1.10).

Obtain the list of currently excluded server IDs by calling GET /exclusions first. Required when remove_all is false or not provided.

boolean
remove_all
Optional

When true, removes all excluded servers for this service category and site in a single operation. When true, excluded_server_ids is ignored and may be omitted. When false (default), only the servers listed in excluded_server_ids are removed.