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": "do",
"description": "Lorem deserunt in",
"addressType": "IPv6",
"networks": [
"consectetur",
"culpa consequat id irure in",
"do enim sint in"
]
}
}
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": "failure",
"message": "ea esse eiusmod",
"doc": {
"id": "sunt cillum adipisicing enim",
"name": "non Duis officia irure",
"description": "in do",
"addressType": "IPv6",
"networks": [
"esse reprehenderit aliquip qui",
"ex officia culpa do",
"nisi cillum nulla quis",
"exercitation",
"velit cupidatat"
],
"created": "1979-03-08T15:29:19.183Z",
"createdBy": "veniam voluptate fugiat mollit",
"lastUpdated": "2018-07-18T07:09:47.081Z",
"lastUpdatedBy": "Ut"
}
}
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"
]
}
}
}