Instances
Assign security group
Assign the security group to the server.
To assign multiple security groups to all ports, use the NULL value for the port_id
field
POST
Authorizations
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Project ID
Region ID
Instance ID
Body
application/json
Instance ports security groups
Response
204
Everything is OK