Skip to main content

Delete a Site (v4.10)

DELETE 

https://api.sase.paloaltonetworks.com/sdwan/v4.10/api/sites/:site_id

Delete a particular site.

Request

Path Parameters

    site_id stringrequired

    ID of the site. More details on the site can be retrieved by querying the sites API.

Responses

Successful Operation

Schema
    address Address

    The address of the site.

    citystring

    The name of the city. Max size = 100.

    countrystring

    The name of the country. Max size = 100.

    post_codestring

    The postal code. Max size = 100.

    statestring

    The name of the state. Max size = 100.

    streetstring

    The name of the street. Max size = 100.

    street2string

    The name of the street. Max size = 100.

    admin_statestringrequired

    The site mode of operation, can be in one of three states: Active - the site is in Control mode and network policy is applied. Monitor - the site is in Analytics mode, no network policy is applied. Disabled: the site is disabled.

    branch_gatewayboolean

    Branch gateway enabled or not.

    description

    Description for the site (Max size = 1024).

    element_cluster_rolestringrequired

    This attribute describes the type i.e. SPOKE or HUB.

    extended_tags ExtendedTag[]

    Extended tags allow operators to add more information into the site object. Current extended tags allow for additional configuration related to Prisma Access and ZScaler to be added.

  • Array [
  • keystring

    Key

    valuestring

    Value

    value_typestring

    Value Type

  • ]
  • idstring

    The ID.

    location Location

    The geographical cordinates for the site address.

    description

    The description of the location.

    latitudefloat

    The latitude of the location. Max range = 90.

    longitudefloat

    The longitude of the location. Max range = 180.

    multicast_peer_group_idstring

    The multicast peer group ID.

    namestringrequired

    The site name (Max size = 128).

    nat_policysetstack_idstring

    ID for the NAT Policyset Stack. Can be retrieved using natpolicysetstack API.

    network_policysetstack_idstring

    ID for the Path Policyset Stack. Can be retrieved using networkpolicysetstack API.

    perfmgmt_policysetstack_idstring

    ID for the Performance Policyset Stack.

    policy_set_idstring

    The ID for the Original Network Policy Set. Can be retrieved using policysets API.

    prefer_lan_default_over_wan_default_routeboolean

    Prefer Lan Default Over Wan Default Route

    priority_policysetstack_idstring

    ID for the QoS Policyset Stack. Can be retrieved using prioritypolicysetstack API.

    security_policyset_idstring

    The ID for the Original Security Policy Set. Can be retrieved using securitypolicysets API.

    security_policysetstack_idstring

    ID for the Security Policyset Stack. Can be retrieved using ngfwpolicysetstack API.

    service_bindingstring

    Bind a site to a set of domains. Can be retrieved using sericebindingmaps API.

    tagsstring[]

    A information field that can be added to identify the site.

    vrf_context_profile_idstring

    The VRF (Virtual Routing and Forwarding) profile ID.

curl -L -X DELETE 'https://api.sase.paloaltonetworks.com/sdwan/v4.10/api/sites/:site_id' \
-H 'Accept: application/json'
Request Collapse all
Base URL
https://api.sase.paloaltonetworks.com
Parameters
— pathrequired
ResponseClear

Click the Send API Request button above and see the response here!