Share via


Assessment Projects Operations - Delete

Delete a AssessmentProject

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}?api-version=2024-01-15

URI Parameters

Name In Required Type Description
projectName
path True

string

pattern: ^[^<>&:\?/#]{1,260}$

Assessment Project Name

resourceGroupName
path True

string

minLength: 1
maxLength: 90

The name of the resource group. The name is case insensitive.

subscriptionId
path True

string (uuid)

The ID of the target subscription. The value must be an UUID.

api-version
query True

string

minLength: 1

The API version to use for this operation.

Responses

Name Type Description
200 OK

Resource deleted successfully.

204 No Content

Resource deleted successfully.

Other Status Codes

ErrorResponse

An unexpected error response.

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

AssessmentProjectsOperations_Delete_MaximumSet_Gen

Sample request

DELETE https://management.azure.com/subscriptions/A926B99C-7F4C-4556-871E-20CB8C6ADB56/resourceGroups/rgmigrate/providers/Microsoft.Migrate/assessmentProjects/zqrsyncwahgydqvwuchkfd?api-version=2024-01-15

Sample response

Definitions

Name Description
ErrorDetail

Error Details

ErrorResponse

Error response

ErrorDetail

Error Details

Name Type Description
code

string

Error Code

message

string

Description of the error occurred

ErrorResponse

Error response

Name Type Description
error

ErrorDetail

The error object.