Create a Default Network Security Group
Request
curl --location 'https://api.ionos.com/cloudapi/v6/datacenters/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic YYXabCDeFmLMO0c2hyYUBpb25vcy5jb206I1Bha2lzdGFuXzE=' \
--data '{
"properties": {
"name": "Production Datacenter",
"description": "My Production Datacenter",
"location": "us/las",
"createDefaultSecurityGroup": true
}
}'Response
Last updated
Was this helpful?