Groups - Delete
Delete the group from the project. The machines remain in the project. Deleting a non-existent group results in a no-operation.
A group is an aggregation mechanism for machines in a project. Therefore, deleting group does not delete machines in it.
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/groups/{groupName}?api-version=2019-10-01
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
group
|
path | True |
string |
Unique name of a group within a project. |
project
|
path | True |
string |
Name of the Azure Migrate project. |
resource
|
path | True |
string |
Name of the Azure Resource Group that project is part of. |
subscription
|
path | True |
string |
Azure Subscription Id in which project was created. |
api-version
|
query | True |
string |
Standard request header. Used by service to identify API version used by client. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK. Deleted the group. Headers x-ms-request-id: string |
|
204 No Content |
No content. No group with specified name was found. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Groups_Delete
Sample request
DELETE https://management.azure.com/subscriptions/6393a73f-8d55-47ef-b6dd-179b3e0c7910/resourceGroups/abgoyal-westEurope/providers/Microsoft.Migrate/assessmentProjects/abgoyalWEselfhostb72bproject/groups/Test1?api-version=2019-10-01
Sample response
Definitions
Name | Description |
---|---|
Cloud |
An error response from the Azure Migrate service. |
Cloud |
An error response from the Azure Migrate service. |
CloudError
An error response from the Azure Migrate service.
Name | Type | Description |
---|---|---|
error |
An error response from the Azure Migrate service. |
CloudErrorBody
An error response from the Azure Migrate service.
Name | Type | Description |
---|---|---|
code |
string |
An identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
details |
A list of additional details about the error. |
|
message |
string |
A message describing the error, intended to be suitable for display in a user interface. |
target |
string |
The target of the particular error. For example, the name of the property in error. |