Modifying the Security Group of a DDM Instance
Function
This API is used to modify the security group of a DDM instance.
URI
PUT /v1/{project_id}/instances/{instance_id}/modify-security-group
URI to be discarded: PUT /v1/{project_id}/instances/{instance_id}/modify_security_group
| Parameter | Mandatory | Description |
|---|---|---|
| project_id | Yes | Project ID of a tenant in a region. |
| instance_id | Yes | DDM instance ID |
Request
Request parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| security_group_id | Yes | String | Security group ID. The default value is the original security group ID. You can change the value as required. |
Response
Response parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| security_group_id | Yes | String | Security group ID. The default value is the original security group ID. You can change the value as required. |
Example
- Example request
{"security_group_id":"bc28ef93-0083-4652-bce6-381e14284db6"}
- Example response
{"security_group_id":"bc28ef93-0083-4652-bce6-381e14284db6"}
Status Code
For details, see Status Codes.
Last Article: Modifying the Name of a DDM Instance
Next Article: Restarting a DDM Instance
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.