0 out of 1 rated this helpful - Rate this topic

Delete Affinity Group

Updated: March 30, 2011

The Delete Affinity Group operation deletes an affinity group in the specified subscription.

Request

The Delete Affinity Group request may be specified as follows. Replace <subscription-id> with your subscription ID, and <affinity-group-name> with the name of your affinity group:

 

Method Request URI HTTP Version

DELETE

https://management.core.windows.net/<subscription-id>/affinitygroups/<affinity-group-name>

HTTP/1.1

URI Parameters

None.

Request Headers

The following table describes required and optional request headers.

 

Request Header Description

x-ms-version

Required. Specifies the version of the operation to use for this request. This header should be set to 2011-02-25 or later. For more information about versioning headers, see Service Management Versioning.

Request Body

None.

Response

The response includes an HTTP status code, a set of response headers, and a response body.

Status Code

A successful operation returns status code 200 (OK).

For information about status codes, see Service Management Status and Error Codes.

Response Headers

The response for this operation includes the following headers. The response may also include additional standard HTTP headers. All standard headers conform to the HTTP/1.1 protocol specification.

 

Response Header Description

x-ms-request-id

A value that uniquely identifies a request made against the management service.

Response Body

None.

Authorization

Any management certificate associated with the subscription specified by <subscription-id> can be used to authenticate this operation. For additional details, see Authenticating Service Management Requests.

Remarks

Before deleting an affinity group, you must modify or delete any resources that currently use it. An affinity group cannot be deleted as long as it is associated with any resources.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.