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": "esse cillum",
"description": "aliqua velit proident",
"addressType": "IPv6",
"networks": [
"cillum",
"culpa",
"consectetur voluptate proident quis elit"
]
}
}
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": "ad deserunt qui",
"doc": {
"id": "id labore occaecat veniam magna",
"name": "exercitation",
"description": "Duis",
"addressType": "IPv6",
"networks": [
"id quis veniam exercitation"
],
"created": "2014-01-08T08:45:05.124Z",
"createdBy": "ipsum esse incididunt",
"lastUpdated": "1960-06-01T23:47:31.38Z",
"lastUpdatedBy": "pariatur exercitation fugiat labore"
}
}
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"
]
}
}
}