Summary
Updates a network group
Description
Updates a network group based on given option properties.
Route
PUT /policy-manager/network-groups/:id
Roles
admin
other
readonly
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
id |
string |
yes |
ID of the network group. |
details |
object |
yes |
Object containing the fields to be updated |
Copied to Clipboard
{
"details": {
"name": "qui",
"description": "dolor do culpa aliqua dolore",
"addressType": "IPv6",
"networks": [
"enim sit mollit"
]
}
}
Copied to Clipboard
{
"type": "object",
"properties": {
"details": {
"title": "details",
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"addressType": {
"enum": [
"IPv4",
"IPv6",
"Mixed"
]
},
"networks": {
"type": "array",
"items": {
"title": "networkId",
"type": "string"
}
}
},
"required": [
"name"
]
}
},
"required": [
"details"
],
"additionalProperties": false
}
Return
DetailsExampleSchema
Name |
Type |
Description |
response |
object |
Response of the updates to the network. |
Copied to Clipboard
{
"status": "failure",
"message": "proident ea eiusmod do dolore",
"doc": {
"id": "et aute",
"name": "anim in qui cupidatat dolore",
"description": "ea",
"addressType": "IPv4",
"networks": [
"enim qui non",
"proident",
"incididunt officia",
"in occaecat deserunt",
"ut commodo"
],
"created": "1970-08-26T04:08:59.899Z",
"createdBy": "cillum Duis exercitation",
"lastUpdated": "1964-11-26T20:53:14.534Z",
"lastUpdatedBy": "sunt nostrud dolor"
}
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"status": {
"enum": [
"success",
"failure"
]
},
"message": {
"type": "string"
},
"doc": {
"title": "networkGroup",
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"addressType": {
"enum": [
"IPv4",
"IPv6",
"Mixed"
]
},
"networks": {
"type": "array",
"items": {
"title": "networkId",
"type": "string"
}
},
"created": {
"type": "string",
"format": "date-time"
},
"createdBy": {
"type": "string"
},
"lastUpdated": {
"type": "string",
"format": "date-time"
},
"lastUpdatedBy": {
"type": "string"
}
},
"required": [
"id",
"name",
"description",
"addressType",
"networks",
"created",
"createdBy",
"lastUpdated",
"lastUpdatedBy"
]
}
}
}