Chat Thread - Delete Chat Image
Tar bort en bild.
DELETE {endpoint}/chat/threads/{chatThreadId}/images/{imageId}?api-version=2024-03-15-preview
URI-parametrar
Name | I | Obligatorisk | Typ | Description |
---|---|---|---|---|
chat
|
path | True |
string |
Det tråd-ID som meddelandet skickades till. |
endpoint
|
path | True |
string |
Slutpunkten för Azure Communication-resursen. |
image
|
path | True |
string |
Bild-ID:t. |
api-version
|
query | True |
string |
Version av API som ska anropas. |
Begärandehuvud
Name | Obligatorisk | Typ | Description |
---|---|---|---|
Authorization | True |
string |
En ACS-användaråtkomsttoken (Azure Communication Services). |
Svar
Name | Typ | Description |
---|---|---|
204 No Content |
Begäran lyckades. |
|
Other Status Codes |
Felsvar som beskriver varför åtgärden misslyckades. |
Säkerhet
Authorization
En ACS-användaråtkomsttoken (Azure Communication Services).
Typ:
apiKey
I:
header
Exempel
Delete message
Exempelbegäran
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
Exempelsvar
Definitioner
Name | Description |
---|---|
Error |
Felsvarsinformation. |
Error |
Information om felinformation. |
Error |
Wrapper för felsvar för att följa ARM-riktlinjerna. |
Error
Felsvarsinformation.
Name | Typ | Description |
---|---|---|
code |
string |
Felkod. |
details |
En matris med felinformationsobjekt. |
|
message |
string |
Felmeddelande. |
ErrorDetail
Information om felinformation.
Name | Typ | Description |
---|---|---|
code |
string |
Felkod. |
message |
string |
Felmeddelande. |
ErrorResponse
Wrapper för felsvar för att följa ARM-riktlinjerna.
Name | Typ | Description |
---|---|---|
error |
Felsvaret. |