Delete a load balancer's session persistence
From Hostway API Documentation
(Difference between revisions)
(→Examples) |
Mike.robski (Talk | contribs) m (1 revision: Release 109) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | ='''DELETE''' /accounts/''{accountId}''/loadbalancers/''{lbId}''/nodePools/''{nodePoolId}''/sessionPersistence= | |
− | + | This operation deletes session persistence from a node balancer. | |
− | ='''DELETE''' /accounts/''{accountId}''/loadbalancers/''{lbId}''/ | + | |
− | This operation | + | |
== Request == | == Request == | ||
+ | <code>DELETE /accounts/''{accountId}''/loadbalancers/''{lbId}''/nodePools/''{nodePoolId}''/sessionPersistence</code> | ||
− | === | + | === Request Parameters === |
; accountId - ''string'' | ; accountId - ''string'' | ||
− | : The selected account | + | : The selected account id. |
; lbId - ''string'' | ; lbId - ''string'' | ||
− | : The | + | : The selected loadbalancer id. |
+ | |||
+ | ; nodePoolId - ''string'' | ||
+ | : The selected node pool id. | ||
== Response == | == Response == | ||
Line 29: | Line 31: | ||
'''Request''' | '''Request''' | ||
<pre> | <pre> | ||
− | DELETE /accounts/{accountId}/loadbalancers/{lbId}/ | + | DELETE /accounts/{accountId}/loadbalancers/{lbId}/nodePools/{nodePoolId}/sessionPersistence |
Content-Type:application/json | Content-Type:application/json | ||
Charset=UTF-8 | Charset=UTF-8 | ||
− | Authorization:Base64-encoded username & password string | + | Authorization: Basic {Base64-encoded username & password string} |
</pre> | </pre> | ||
Line 38: | Line 40: | ||
<pre> | <pre> | ||
HTTP/1.1 204 No Content | HTTP/1.1 204 No Content | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
[[Category:Hostway API]] | [[Category:Hostway API]] | ||
[[Category:Load Balancer API]] | [[Category:Load Balancer API]] |
Latest revision as of 12:13, 24 July 2015
Contents |
DELETE /accounts/{accountId}/loadbalancers/{lbId}/nodePools/{nodePoolId}/sessionPersistence
This operation deletes session persistence from a node balancer.
Request
DELETE /accounts/{accountId}/loadbalancers/{lbId}/nodePools/{nodePoolId}/sessionPersistence
Request Parameters
- accountId - string
- The selected account id.
- lbId - string
- The selected loadbalancer id.
- nodePoolId - string
- The selected node pool id.
Response
Response Codes
- 204 No Content
- 401 Unauthorized
- This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.
- 404 Not Found
- The resource does not exist.
Examples
Successfully delete the specified load balancer's persistence
Request
DELETE /accounts/{accountId}/loadbalancers/{lbId}/nodePools/{nodePoolId}/sessionPersistence Content-Type:application/json Charset=UTF-8 Authorization: Basic {Base64-encoded username & password string}
Response
HTTP/1.1 204 No Content