Skip to content

Commit

Permalink
remove deprecated permissions API
Browse files Browse the repository at this point in the history
  • Loading branch information
NourEldin Yasser committed May 12, 2020
1 parent c34790f commit 4848d42
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 240 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3428,168 +3428,6 @@
}
}
},
"/apps/{appId}/permissions": {
"get": {
"description": "Gets the list of user emails that have permissions to access your application.",
"operationId": "Permissions_List",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
}
],
"responses": {
"200": {
"description": "The list includes a single owner. All collaborators are listed in the emails array.",
"schema": {
"$ref": "#/definitions/UserAccessList"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Successful Get Application User Access List": {
"$ref": "./examples/permissions/SuccessfulGetApplicationUserAccessListRequest.json"
}
}
},
"post": {
"description": "Adds a user to the allowed list of users to access this LUIS application. Users are added using their email address.",
"operationId": "Permissions_Add",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
},
{
"name": "userToAdd",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/UserCollaborator"
},
"description": "A model containing the user's email address."
}
],
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "Successful operation.",
"schema": {
"$ref": "#/definitions/OperationStatus"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Successful Add User To Access List": {
"$ref": "./examples/permissions/SuccessfulAddUserToAccessListRequest.json"
}
}
},
"delete": {
"description": "Removes a user from the allowed list of users to access this LUIS application. Users are removed using their email address.",
"operationId": "Permissions_Delete",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
},
{
"name": "userToDelete",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/UserCollaborator"
},
"description": "A model containing the user's email address."
}
],
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "Successful operation.",
"schema": {
"$ref": "#/definitions/OperationStatus"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Successful Remove User From Access List": {
"$ref": "./examples/permissions/SuccessfulRemoveUserFromAccessListRequest.json"
}
}
},
"put": {
"description": "Replaces the current user access list with the new list sent in the body. If an empty list is sent, all access to other users will be removed.",
"operationId": "Permissions_Update",
"parameters": [
{
"$ref": "#/parameters/AppIdInPath"
},
{
"name": "collaborators",
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/CollaboratorsArray"
},
"description": "A model containing a list of user email addresses."
}
],
"consumes": [
"application/json"
],
"responses": {
"200": {
"description": "Successful operation.",
"schema": {
"$ref": "#/definitions/OperationStatus"
}
},
"default": {
"description": "Error Response.",
"schema": {
"$ref": "#/definitions/ErrorResponse"
}
}
},
"produces": [
"application/json"
],
"x-ms-examples": {
"Successful Replaces Users From Access List": {
"$ref": "./examples/permissions/SuccessfulReplacesUsersFromAccessListRequest.json"
}
}
}
},
"/apps/{appId}/endpoints": {
"get": {
"description": "Returns the available endpoint deployment regions and URLs.",
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 4848d42

Please sign in to comment.