Assign the security group To the specified machine(s)

Assign the security group To the specified machine(s)

Assign the security group to the specified machine(s)

Request
URI
POST
https://{api_host}/network-service//api/security-groups/{id}/machines
COPY
Path Parameters
string
id
Required

The ID of the security group


Request Body

Collection of machine IDs. The collection of machine IDs is interpreted by the network and security platform. For example, for NSX-v, this would be a collection of vSphere morefs and for NSX-T this is a collection of vSphere machine UUIDs

Array of string of type(s) application/json
Optional
[
    {}
]
Responses
201

Security group assigned to machine(s) successfully

Operation doesn't return any data structure