Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GraphRBAC] Add delete owner #4190

Merged
merged 1 commit into from
Oct 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
84 changes: 84 additions & 0 deletions specification/graphrbac/data-plane/stable/1.6/graphrbac.json
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,48 @@
}
}
},
"/{tenantID}/applications/{applicationObjectId}/$links/owners/{ownerObjectId}": {
"delete": {
"tags": [
"ApplicationOwners"
],
"operationId": "Applications_RemoveOwner",
"description": "Remove a member from owners.",
"parameters": [
{
"name": "applicationObjectId",
"in": "path",
"required": true,
"type": "string",
"description": "The object ID of the application from which to remove the owner."
},
{
"name": "ownerObjectId",
"in": "path",
"required": true,
"type": "string",
"description": "Owner object id"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/tenantIDInPath"
}
],
"responses": {
"204": {
"description": "No Content. Indicates success. No response body is returned."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/GraphError"
}
}
}
}
},
"/{tenantID}/applications/{applicationObjectId}/keyCredentials": {
"get": {
"tags": [
Expand Down Expand Up @@ -1119,6 +1161,48 @@
}
}
},
"/{tenantID}/groups/{objectId}/$links/owners/{ownerObjectId}": {
"delete": {
"tags": [
"GroupsOwners"
],
"operationId": "Groups_RemoveOwner",
"description": "Remove a member from owners.",
"parameters": [
{
"name": "objectId",
"in": "path",
"required": true,
"type": "string",
"description": "The object ID of the group from which to remove the owner."
},
{
"name": "ownerObjectId",
"in": "path",
"required": true,
"type": "string",
"description": "Owner object id"
},
{
"$ref": "#/parameters/ApiVersionParameter"
},
{
"$ref": "#/parameters/tenantIDInPath"
}
],
"responses": {
"204": {
"description": "No Content. Indicates success. No response body is returned."
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "#/definitions/GraphError"
}
}
}
}
},
"/{tenantID}/servicePrincipals": {
"post": {
"tags": [
Expand Down