Delete Automatic Speech Recognition (ASR) Evaluation API

Call this API to delete the specified Automatic Speech Recognition (ASR) evaluation, including in-progress evaluations.

HTTP method and path

DELETE v1/skills/{skillId}/asrEvaluations/{evaluationId} HTTP/1.1 
Attributes Type Description Required
skillId String Skill Id as part of the URI path. Yes
evaluationId String Evaluation Id as part of the request URI. Yes

Request

Request Headers

Content-Type: application/json
Accept: application/json

Request Body

None.

Response

HTTP Status

HTTP 204 No Content

Response Headers

Content-Type: application/json

Response Body

None.

Error Response

This section lists call-specific errors. For a reference of errors that can apply to all ASR APIs, see Automatic Speech Recognition (ASR) API Error Reference.

HTTP Status Code Error Code Scenario

404 Not Found

RESOURCE_NOT_FOUND

Requested skill does not exist.

Requested evaluation does not exist.

400 Bad Request

INVALID_REQUEST_PARAMETER

Evaluation Id is malformed.

500 Internal Server error

INTERNAL_SERVER_ERROR

Request failed due to an internal server error.

Examples

Sample Request Sample Response
DELETE /v1/skills/1234/asrEvaluations/1234-1234-1234-12341234 HTTP/1.1 HTTP 204 NO CONTENT
DELETE /v1/skills/1234/asrEvaluations/1234-1234-1234-12341234 HTTP/1.1
HTTP 404 Not Found Content-Type: application/json { "message": "Evaluation with identifier \"1234-1234-1234-12341234\" cannot be found", "code": "RESOURCE_NOT_FOUND }