Summary
Creates a network group.
Description
Creates a new network group.
Route
POST /policy-manager/network-groups
Roles
admin
other
readonly
apiread
Parameters
DetailsExampleSchema
Name |
Type |
Required |
Description |
details |
object |
yes |
Details of network group to be created |
Copied to Clipboard
{
"details": {
"name": "sed laborum in",
"description": "magna dolor minim",
"addressType": "IPv4",
"networks": [
"tempor",
"sint in proident Excepteur",
"consequat adipisicing non proident nostrud"
]
}
}
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 object with the document that was created. |
Copied to Clipboard
{
"status": "success",
"message": "Lorem dolore consectetur",
"doc": {
"id": "consequat",
"name": "magna",
"description": "sunt non Ut laborum dolore",
"addressType": "Mixed",
"networks": [
"nisi",
"eiusmod qui",
"velit ullamco aliquip",
"commodo",
"incididunt Excepteur laboris"
],
"created": "1964-09-29T14:35:08.846Z",
"createdBy": "exercitation voluptate laborum ullamco",
"lastUpdated": "1976-08-25T04:56:02.417Z",
"lastUpdatedBy": "anim sint"
}
}
Copied to Clipboard
{
"title": "response",
"type": "object",
"properties": {
"status": {
"type": "string",
"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"
]
}
}
}