Convert a Custom Network Security Group to Default
Note: Only contract administrators, owners, and users with permissions to the VDC concerned can create and manage NSGs via API.
Prerequisite: You need an IONOS Cloud account with API credentials configured with the appropriate permissions.
You can convert a Custom NSG to a Default NSG during the update of a datacenter. You can use any of the following Cloud API requests with the property defaultSecurityGroupId
set to UUID of the NSG to be converted and the other required properties:
PUT /datacenters/{datacenterId}
PATCH /datacenters/{datacenterId}
Request
Response
202 Accepted
Note: For CloudAPI, some resources are created asynchronously. You can check for the progress via the Status URL that is returned in the response header of the POST or PUT call.
Last updated