Skip to content

Deletes an existing site

Description

Deletes an existing site. The site cannot be associated with any device or link.

Usage

networkmanager_delete_site(GlobalNetworkId, SiteId)

Arguments

  • GlobalNetworkId

    [required] The ID of the global network.

  • SiteId

    [required] The ID of the site.

Value

A list with the following syntax:

list(
  Site = list(
    SiteId = "string",
    SiteArn = "string",
    GlobalNetworkId = "string",
    Description = "string",
    Location = list(
      Address = "string",
      Latitude = "string",
      Longitude = "string"
    ),
    CreatedAt = as.POSIXct(
      "2015-01-01"
    ),
    State = "PENDING"|"AVAILABLE"|"DELETING"|"UPDATING",
    Tags = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Request syntax

svc$delete_site(
  GlobalNetworkId = "string",
  SiteId = "string"
)