NAT Gateway

Toggle NAT Gateway protection

post/nat-gateway/{ng_uuid}/protection

Enable or disable destruction protection on your NAT Gateway. When enabled, the gateway cannot be deleted until protection is removed.

Authorization

Authorization
Authorization*string

Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.

Path parameters

ng_uuid*string

Request body

application/jsonRequired
enabled*boolean

Set to true to enable protection, false to disable it.

Responses

Successful Response

application/json

detail*string