Batch Syntheses - Delete
Deletes the batch synthesis identified by the given ID.
DELETE {endpoint}/avatar/batchsyntheses/{id}?api-version=2024-08-01
URI Parameters
| Name | In | Required | Type | Description |
|---|---|---|---|---|
|
endpoint
|
path | True |
string |
Supported Cognitive Services endpoints (protocol and hostname, for example: https://eastus.api.cognitive.microsoft.com). |
|
id
|
path | True |
string minLength: 3maxLength: 64 pattern: ^[a-zA-Z0-9][a-zA-Z0-9._-]{1,62}[a-zA-Z0-9]$ |
The id of resource. |
|
api-version
|
query | True |
string minLength: 1 |
The API version to use for this operation. |
Request Header
| Name | Required | Type | Description |
|---|---|---|---|
| Ocp-Apim-Subscription-Key | True |
string |
Provide your cognitive services subscription key here. |
Responses
| Name | Type | Description |
|---|---|---|
| 204 No Content |
No Content |
|
| Other Status Codes |
An error occurred. Headers x-ms-error-code: string |
Security
Ocp-Apim-Subscription-Key
Provide your cognitive services subscription key here.
Type:
apiKey
In:
header
Examples
get a batch synthesis job.
Sample request
DELETE {endpoint}/avatar/batchsyntheses/talking-avatar-batch-synthesis-job-1?api-version=2024-08-01
Sample response
Definitions
| Name | Description |
|---|---|
| Error |
The error object. |
|
Error |
Top-level error code |
|
Error |
Error response. |
|
Inner |
An object containing more specific information about the error. |
Error
The error object.
| Name | Type | Description |
|---|---|---|
| code |
Top-level error code |
|
| details |
Error[] |
Additional supportive details regarding the error and/or expected policies. |
| innererror |
An object containing more specific information about the error. |
|
| message |
string |
High level error message. |
| target |
string |
The source of the error. |
ErrorCode
Top-level error code
| Value | Description |
|---|---|
| BadRequest | |
| BadArgument | |
| Unauthorized | |
| Forbidden | |
| NotFound | |
| UnsupportedMediaType | |
| TooManyRequests | |
| InternalServerError | |
| ServiceUnavailable |
ErrorResponse
Error response.
| Name | Type | Description |
|---|---|---|
| error |
The error object. |
InnerError
An object containing more specific information about the error.
| Name | Type | Description |
|---|---|---|
| code |
string |
Detailed error code to help diagnostic. |
| innererror |
An object containing more specific information about the error. |
|
| message |
string |
Detailed error message. |
| target |
string |
The source of the error. |