diff --git a/specification/graphrbac/data-plane/stable/1.6/graphrbac.json b/specification/graphrbac/data-plane/stable/1.6/graphrbac.json index a8d0f0d5f03b..83f9c0dfbac0 100644 --- a/specification/graphrbac/data-plane/stable/1.6/graphrbac.json +++ b/specification/graphrbac/data-plane/stable/1.6/graphrbac.json @@ -148,6 +148,104 @@ } } }, + "/{tenantID}/deletedApplications/{objectId}/restore": { + "post": { + "tags": [ + "deletedApplications" + ], + "operationId": "DeletedApplications_Restore", + "description": "Restores the deleted application in the directory.", + "parameters": [ + { + "name": "objectId", + "in": "path", + "required": true, + "type": "string", + "description": "Application object ID." + }, + { + "$ref": "#/parameters/tenantIDInPath" + } + ], + "responses": { + "200": { + "description": "The application was restored successfully.", + "schema": { + "$ref": "#/definitions/Application" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/GraphError" + } + } + } + } + }, + "/{tenantID}/deletedApplications": { + "get": { + "tags": [ + "deletedApplications" + ], + "operationId": "DeletedApplications_Get", + "description": "Gets a list of deleted applications in the directory.", + "parameters": [ + { + "$ref": "#/parameters/tenantIDInPath" + } + ], + "responses": { + "200": { + "description": "The applications were retrieved successfully.", + "schema": { + "$ref": "#/definitions/ApplicationListResult" + } + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/GraphError" + } + } + } + } + }, + "/{tenantID}/deletedApplications/{applicationObjectId}": { + "delete": { + "tags": [ + "Application" + ], + "operationId": "Applications_HardDelete", + "description": "Hard-delete an application.", + "parameters": [ + { + "name": "applicationObjectId", + "in": "path", + "required": true, + "type": "string", + "description": "Application object ID." + }, + { + "$ref": "#/parameters/ApiVersionParameter" + }, + { + "$ref": "#/parameters/tenantIDInPath" + } + ], + "responses": { + "204": { + "description": "No Content" + }, + "default": { + "description": "Error response describing why the operation failed.", + "schema": { + "$ref": "#/definitions/GraphError" + } + } + } + } + }, "/{tenantID}/applications/{applicationObjectId}": { "delete": { "tags": [ @@ -346,7 +444,7 @@ } } } - }, + }, "/{tenantID}/applications/{applicationObjectId}/keyCredentials": { "get": { "tags": [ @@ -831,7 +929,7 @@ } } } - } + } }, "/{tenantID}/groups/{objectId}/getMemberGroups": { "post": { @@ -2155,7 +2253,7 @@ { "$ref": "#/definitions/DirectoryObject" } - ], + ], "properties": { "appId": { "type": "string", @@ -2233,7 +2331,7 @@ "type": "object" }, "description": "Request parameters for adding a owner to an application." - }, + }, "KeyCredentialListResult": { "type": "object", "properties": { @@ -2478,7 +2576,7 @@ { "$ref": "#/definitions/DirectoryObject" } - ], + ], "properties": { "displayName": { "type": "string", @@ -2617,7 +2715,7 @@ "$ref": "#/definitions/DirectoryObject" } ], - "type": "object", + "type": "object", "properties": { "displayName": { "type": "string", @@ -2818,7 +2916,7 @@ "name": "UserType", "modelAsString": true } - }, + }, "accountEnabled": { "type": "boolean", "description": "Whether the account is enabled."