Accounts-accountId-dedicatedServers-serverId-ipAddresses-ipaddress-natRules-ruleId:DELETE

From Hostway API Documentation
Jump to: navigation, search

DELETE /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules/{ruleId}

Unassign a specific NAT rule from a specific IP of a dedicated server

Contents


Request

DELETE /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/natRules/{ruleId}

Request Parameters

accountId - string
The user account owning the dedicated server
serverId - string
The specified dedicated server Id
ipAddress - string
The specified IP address of the dedicated server
ruleId - string
The specific NAT rule Id

Request Headers

Authorization - HTTP Authorization header [1]
The Authentication credentials of the client application.

Response

Status Code

204 No Content
Success
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation.
403 Forbidden
The authorized user does not have permissions to access the resource.
404 Not Found
The specific NAT rule resource does not exist.

Examples

Unassign a specific NAT rule from a specific dedicated server IP

Request

DELETE /accounts/test-acount/dedicatedServers/test-server-213/ipAddresses/1.1.1.1/natRules/test-rule-1
 

Response

204 No Content
 


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox