From de8a913db0594fbd8c0b00fb3c62601eaaa6390f Mon Sep 17 00:00:00 2001 From: Laurent Mazuel Date: Thu, 11 Oct 2018 11:19:01 -0700 Subject: [PATCH] Add delete owner (#4190) --- .../data-plane/stable/1.6/graphrbac.json | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) diff --git a/specification/graphrbac/data-plane/stable/1.6/graphrbac.json b/specification/graphrbac/data-plane/stable/1.6/graphrbac.json index a2c217cf3d54..96cb6761dcf6 100644 --- a/specification/graphrbac/data-plane/stable/1.6/graphrbac.json +++ b/specification/graphrbac/data-plane/stable/1.6/graphrbac.json @@ -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": [ @@ -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": [