Model Evaluations - Delete

Delete a model evaluation. A model evaluation can be deleted if it is in the 'Succeeded' or 'Failed' states.

Status codes returned:

  • 204: Operation completed successfully.
  • 400: The request was malformed.
  • 404: A model evaluation with the specified name was not found.
DELETE /models/{name}/evaluations/{evaluationName}?api-version=2023-04-01-preview

URI Parameters

Name In Required Type Description
evaluationName
path True

string

The name of the model evaluation to delete.

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*$

name
path True

string

The name of the model to delete the evaluation for.

Regex pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]*$

api-version
query True

string

Requested API version.

Responses

Name Type Description
204 No Content

No Content

Other Status Codes

ErrorResponse

Error

Headers

x-ms-error-code: string

Examples

ModelEvaluations_Delete

Sample request

DELETE /models/my_model_name/evaluations/my_evaluation_name?api-version=2023-04-01-preview

Sample response

Definitions

Name Description
ErrorResponse

Response returned when an error occurs.

ErrorResponseDetails

Error info.

ErrorResponseInnerError

Detailed error.

ErrorResponse

Response returned when an error occurs.

Name Type Description
error

ErrorResponseDetails

Error info.

ErrorResponseDetails

Error info.

Name Type Description
code

string

Error code.

details

ErrorResponseDetails[]

List of detailed errors.

innererror

ErrorResponseInnerError

Detailed error.

message

string

Error message.

target

string

Target of the error.

ErrorResponseInnerError

Detailed error.

Name Type Description
code

string

Error code.

innererror

ErrorResponseInnerError

Detailed error.

message

string

Error message.