다음을 통해 공유


Azure Accounts - Remove From App

앱 - 애플리케이션에서 할당된 LUIS Azure 계정을 제거합니다.
애플리케이션에서 할당된 Azure 계정을 제거합니다.

DELETE {Endpoint}/luis/api/v2.0/apps/{appId}/azureaccounts

URI 매개 변수

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

string (uuid)

애플리케이션 ID입니다.

Endpoint
path True

string

지원되는 Cognitive Services 엔드포인트(프로토콜 및 호스트 이름( 예: https://westus.api.cognitive.microsoft.com).

요청 헤더

Name 필수 형식 Description
Ocp-Apim-Subscription-Key True

string

Authorization True

string

사용할 전달자 권한 부여 헤더입니다. Azure 계정 정보의 유효성을 검사하는 데 사용되는 사용자의 ARM 토큰을 포함합니다.

요청 본문

Name 필수 형식 Description
accountName True

string

Azure 계정 이름입니다.

azureSubscriptionId True

string

Azure 구독의 ID입니다.

resourceGroup True

string

Azure 리소스 그룹 이름입니다.

응답

Name 형식 Description
200 OK

OperationStatus

작업이 성공했습니다.

Other Status Codes

ErrorResponse

오류 응답입니다.

보안

Ocp-Apim-Subscription-Key

형식: apiKey
In(다음 안에): header

예제

Successful delete assigned azure account request

샘플 요청

DELETE {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/azureaccounts



{
  "azureSubscriptionId": "{azure_subscription_id}",
  "resourceGroup": "{resource_group_name}",
  "accountName": "{account_name}"
}

샘플 응답

{
  "code": "Success",
  "message": "Operation Successful"
}

정의

Name Description
AzureAccountInfoObject

Azure 계정 정보 개체를 정의합니다.

ErrorResponse

API에서 작업을 호출할 때 오류 응답입니다.

OperationStatus

작업 상태의 응답입니다.

OperationStatusType

상태 코드입니다.

AzureAccountInfoObject

Azure 계정 정보 개체를 정의합니다.

Name 형식 Description
accountName

string

Azure 계정 이름입니다.

azureSubscriptionId

string

Azure 구독의 ID입니다.

resourceGroup

string

Azure 리소스 그룹 이름입니다.

ErrorResponse

API에서 작업을 호출할 때 오류 응답입니다.

Name 형식 Description
errorType

string

OperationStatus

작업 상태의 응답입니다.

Name 형식 Description
code

OperationStatusType

상태 코드입니다.

message

string

상태 세부 정보입니다.

OperationStatusType

상태 코드입니다.

Description
Failed
FAILED
Success