Chat Thread - Delete Chat Image
Deletes a image.
DELETE {endpoint}/chat/threads/{chatThreadId}/images/{imageId}?api-version=2024-03-15-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
chat
|
path | True |
string |
The thread id to which the message was sent. |
endpoint
|
path | True |
string |
The endpoint of the Azure Communication resource. |
image
|
path | True |
string |
The image id. |
api-version
|
query | True |
string |
Version of API to invoke. |
Request Header
Name | Required | Type | Description |
---|---|---|---|
Authorization | True |
string |
An ACS (Azure Communication Services) user access token. |
Responses
Name | Type | Description |
---|---|---|
204 No Content |
Request successful. |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
Authorization
An ACS (Azure Communication Services) user access token.
Type:
apiKey
In:
header
Examples
Delete message
Sample Request
DELETE https://contoso.westus.communications.azure.com/chat/threads/19:34adfa4f-cedf-4dc0-ba29-b6d1a69ab345@thread.v2/images/0-eus-d2-fb42e272282ebb6ef76a3aedd1974433?api-version=2024-03-15-preview
Sample Response
Definitions
Name | Description |
---|---|
Error |
Error response information. |
Error |
Error detail information. |
Error |
Wrapper for error response to follow ARM guidelines. |
Error
Error response information.
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
details |
An array of error detail objects. |
|
message |
string |
Error message. |
ErrorDetail
Error detail information.
Name | Type | Description |
---|---|---|
code |
string |
Error code. |
message |
string |
Error message. |
ErrorResponse
Wrapper for error response to follow ARM guidelines.
Name | Type | Description |
---|---|---|
error |
The error response. |