다음을 통해 공유


Chat Thread - Delete Chat Image

이미지를 삭제합니다.

DELETE {endpoint}/chat/threads/{chatThreadId}/images/{imageId}?api-version=2024-03-15-preview

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
chatThreadId
path True

string

메시지를 보낸 스레드 ID입니다.

endpoint
path True

string

Azure Communication 리소스의 엔드포인트입니다.

imageId
path True

string

이미지 ID입니다.

api-version
query True

string

호출할 API의 버전입니다.

요청 헤더

Name 필수 형식 Description
Authorization True

string

ACS(Azure Communication Services) 사용자 액세스 토큰입니다.

응답

Name 형식 Description
204 No Content

요청이 성공했습니다.

Other Status Codes

ErrorResponse

작업이 실패한 이유를 설명하는 오류 응답입니다.

보안

Authorization

ACS(Azure Communication Services) 사용자 액세스 토큰입니다.

Type: apiKey
In: header

예제

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

정의

Name Description
Error

오류 응답 정보입니다.

ErrorDetail

오류 세부 정보입니다.

ErrorResponse

ARM 지침을 따르기 위한 오류 응답에 대한 래퍼입니다.

Error

오류 응답 정보입니다.

Name 형식 Description
code

string

오류 코드

details

ErrorDetail[]

오류 세부 정보 개체의 배열

message

string

오류 메시지입니다.

ErrorDetail

오류 세부 정보입니다.

Name 형식 Description
code

string

오류 코드

message

string

오류 메시지입니다.

ErrorResponse

ARM 지침을 따르기 위한 오류 응답에 대한 래퍼입니다.

Name 형식 Description
error

Error

오류 응답입니다.