Method | URI | Description |
---|---|---|
POST | /v2/{tenant_id}/servers/{server_id}/action | Assigns the specified security group to the server. |
Normal response codes: 200
This table shows the URI parameters for the add security group request:
Name | Type | Description |
---|---|---|
| String | The ID for the tenant or account in a multi-tenancy cloud. |
| UUID | The UUID for the server of interest to you. |
Example 3.30. Add security group: XML request
<?xml version="1.0" encoding="UTF-8"?> <addSecurityGroup> <name>test</name> </addSecurityGroup>
This operation does not require a request body.