Update an existing access group
Sources/Destinations can be defined as specifically selected resource or all resources of some type(both existing and newly created)
For example:
"source": [ { "type": "USER_GROUP", "allCovered": true } ], "destination": [ { "type": "NETWORK_SERVICE", "allCovered": true, "parent": "00000000-0000-0000-0000-000000000001", }, { "type": "HOST_SERVICE", "allCovered": false, "parent": "00000000-0000-0000-0000-000000000002", "children": [ "00000000-0000-0000-0000-000000000003" ] } ]
means all user groups will have access to:
a network with id
00000000-0000-0000-0000-000000000001
(with all network’s applications and ip services)application/service with id
00000000-0000-0000-0000-000000000003
from host with id00000000-0000-0000-0000-000000000002
If new user group will be created later it will be automatically included into this access group source.
Body parameter
{ "name": "string", "description": "string", "source": [ { "type": "USER_GROUP", "allCovered": true, "parent": "00000000-0000-0000-0000-000000000000", "children": [ "00000000-0000-0000-0000-000000000000" ] } ], "destination": [ { "type": "USER_GROUP", "allCovered": true, "parent": "00000000-0000-0000-0000-000000000000", "children": [ "00000000-0000-0000-0000-000000000000" ] } ] }
Parameters
Name | In | Type | Required | Description |
---|---|---|---|---|
id | path | string | true | Access group ID |
body | body | true | none | |
» name | body | string | false | none |
» description | body | string | false | none |
» source | body | false | none | |
»» type | body | string | false | none |
»» allCovered | body | boolean | false | none |
»» parent | body | string | false | none |
»» children | body | [string] | false | none |
» destination | body | false | none | |
»» type | body | string | false | none |
»» allCovered | body | boolean | false | none |
»» parent | body | string | false | none |
»» children | body | [string] | false | none |
Enumerated Values
Parameter | Value |
---|---|
»» type | USER_GROUP |
»» type | NETWORK_SERVICE |
»» type | HOST |
»» type | USER_GROUP |
»» type | NETWORK_SERVICE |
»» type | HOST_SERVICE |
»» type | PUBLISHED_SERVICE |
Responses
Status | Meaning | Description | Schema |
---|---|---|---|
200 | OK |
To perform this operation, you must be authenticated by means of one of the following methods: oauth