Accounts-account-dedicatedServers-server-ipAddresses-ipaddress-os-security-groups:DELETE

From Hostway API Documentation
Jump to: navigation, search

DELETE /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/os-security-groups/{groupId}

Unassign a specific security group from a specific IP address of a dedicated server

Contents


Request

DELETE /accounts/{accountId}/dedicatedServers/{serverId}/ipAddresses/{ipAddress}/os-security-groups/{groupId}

URI Parameters

accountId - string
The user account owning the dedicated server
serverId - string
The specified dedicated server Id
groupId - string
The specified security group id

Request Headers

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

Response

Status Code

202 Accepted
Success
401 Unauthorized
The supplied credentials are invalid or do not provide permissions for this operation.
403 Forbidden
The authenticated user is not allowed to delete this feature.
404 Not Found
The domain name or the feature do not exist for the account.


Examples

Success unassigning security group

Request

DELETE /accounts/test-acount/dedicatedServers/test-acount-0000014d9ab06c06e7cdd3e5007f0000000100/ipAddresses/1.1.1.1/os-security-groups/group2015May28_someid
 

Response

204 No Content


blog comments powered by Disqus

Personal tools
Namespaces
Variants
Actions
APIs
Navigation
Toolbox