v50

latestOpenAPI 3.0.0Commercialraw.githubusercontent.com2022-08-0911645127.8 KB
Organization

Update a site definition

patch/org/sites/{site_id}

Path parameters

site_idstring uuid required

UUID or name of the site to update

Request body

namestring required
descriptionstring
scopestring
excludesstring

Example request

{
  "name": "New Site",
  "description": "County Office",
  "scope": "192.168.10.0/24",
  "excludes": "192.168.10.1"
}

Response

site details

idstring uuid required
created_atinteger
updated_atinteger
permanentboolean
namestring required
descriptionstring
scopestring
excludesstring
subnetsobject

Example response

{
  "id": "e77602e0-3fb8-4734-aef9-fbc6fdcb0fa8",
  "created_at": 1576300370,
  "updated_at": 1576300370,
  "permanent": true,
  "name": "Primary",
  "description": "Headquarters",
  "scope": "192.168.0.0/24",
  "excludes": "192.168.0.5"
}