Permissions - List
애플리케이션에 액세스할 수 있는 권한이 있는 사용자 이메일 목록을 가져옵니다.
GET {Endpoint}/luis/api/v2.0/apps/{appId}/permissions
URI 매개 변수
| Name | In(다음 안에) | 필수 | 형식 | Description |
|---|---|---|---|---|
|
app
|
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 |
응답
| Name | 형식 | Description |
|---|---|---|
| 200 OK |
목록에는 단일 소유자가 포함됩니다. 모든 협력자는 이메일 배열에 나열됩니다. |
|
| Other Status Codes |
오류 응답입니다. |
보안
Ocp-Apim-Subscription-Key
형식:
apiKey
In(다음 안에):
header
예제
Successful Get Application User Access List
샘플 요청
GET {Endpoint}/luis/api/v2.0/apps/363187f1-c573-46b3-bc4c-ae01d686e68e/permissions
샘플 응답
{
"owner": "owner@email.com",
"emails": [
"yourname@outlook.com"
]
}
정의
| Name | Description |
|---|---|
|
Error |
API에서 작업을 호출할 때 오류 응답입니다. |
|
User |
사용자 권한 목록입니다. |
ErrorResponse
API에서 작업을 호출할 때 오류 응답입니다.
| Name | 형식 | Description |
|---|---|---|
| errorType |
string |
UserAccessList
사용자 권한 목록입니다.
| Name | 형식 | Description |
|---|---|---|
| emails |
string[] |
|
| owner |
string |
애플리케이션 소유자의 이메일 주소입니다. |