diff --git a/openapi/v1.0/default.yaml b/openapi/v1.0/default.yaml index 87c8e583..d2bd497f 100644 --- a/openapi/v1.0/default.yaml +++ b/openapi/v1.0/default.yaml @@ -94367,6 +94367,37 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + /devices/microsoft.graph.provision: + description: Provides operations to call the provision method. + post: + tags: + - devices.device.Actions + summary: Invoke action provision + description: Provision a device on behalf of an approved Virtual Desktop Infrastructure (VDI) provider. This action wraps the Zero Touch Deployment (ZTD) protocol to create a device in a pending state in the customer's directory. The device can't be used for authentication until it completes its registration. The created device is stamped with a system label that identifies the approved VDI provider. Only VDI applications on Microsoft's approved list of VDI providers can successfully call this action. Calls from other applications are blocked even when the application is granted the required permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/device-provision?view=graph-rest-1.0 + operationId: devices.provision + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + provisioningBlob: + type: string + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.provisionResponse' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action /devices/microsoft.graph.validateProperties: description: Provides operations to call the validateProperties method. post: @@ -102052,6 +102083,26 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /directory/tenantGovernance/relatedTenants/microsoft.graph.refreshStatus(): + description: Provides operations to call the refreshStatus method. + get: + tags: + - directory.tenantGovernance + summary: Invoke function refreshStatus + operationId: directory.tenantGovernance.relatedTenants.refreshStatus + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.relatedTenantsRefreshStatus' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function /directory/tenantGovernance/settings: description: Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. get: @@ -111072,6 +111123,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -112858,6 +112966,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -117679,6 +117844,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -118836,6 +119058,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.list.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/list/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -122133,6 +122405,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/root/listItem/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -123643,6 +123965,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.root.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/root/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -129680,6 +130052,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -131725,6 +132161,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -137447,6 +137947,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -138839,6 +139403,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -142825,6 +143446,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -144611,6 +145289,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -180603,6 +181338,80 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -182979,6 +183788,80 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -189699,13 +190582,17 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.drive - summary: Get the number of the resource - operationId: groups.drives.list.items.permissions.GetCount-d4e2 + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.items.listItem.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -189728,92 +190615,54 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - '200': - $ref: '#/components/responses/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. - get: - tags: - - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.list.items.ListVersions - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: listItem-id + - name: permission-id in: path - description: The unique identifier of listItem + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-operation-type: operation - post: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.list.items.CreateVersions + summary: Get the number of the resource + operationId: groups.drives.list.items.permissions.GetCount-d4e2 parameters: - name: group-id in: path @@ -189836,35 +190685,143 @@ paths: schema: type: string x-ms-docs-key-type: listItem - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - required: true + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '201': - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - groups.drive summary: Get versions from groups description: The list of previous versions of the list item. - operationId: groups.drives.list.items.GetVersions + operationId: groups.drives.list.items.ListVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to versions for groups + operationId: groups.drives.list.items.CreateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.list.items.GetVersions parameters: - name: group-id in: path @@ -191331,6 +192288,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -196053,6 +197077,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -198170,6 +199261,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -228715,6 +229873,87 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -230557,6 +231796,80 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -247235,6 +248548,73 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -448288,7 +449668,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: List roleManagementCustomCalloutExtensions + description: Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-list-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.ListCustomExtensions parameters: - $ref: '#/components/parameters/top' @@ -448338,7 +449722,11 @@ paths: post: tags: - identityGovernance.privilegedAccessRoot - summary: Create new navigation property to customExtensions for identityGovernance + summary: Create roleManagementCustomCalloutExtension + description: Create a new roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-post-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.CreateCustomExtensions requestBody: description: New navigation property @@ -448362,7 +449750,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: Get roleManagementCustomCalloutExtension + description: Retrieve the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-get?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.GetCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -448405,7 +449797,11 @@ paths: patch: tags: - identityGovernance.privilegedAccessRoot - summary: Update the navigation property customExtensions in identityGovernance + summary: Update roleManagementCustomCalloutExtension + description: Update the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-update?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.UpdateCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -448431,7 +449827,11 @@ paths: delete: tags: - identityGovernance.privilegedAccessRoot - summary: Delete navigation property customExtensions for identityGovernance + summary: Delete roleManagementCustomCalloutExtension + description: Delete a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-delete?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.DeleteCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -449965,6 +451365,10 @@ paths: tags: - identityGovernance.privilegedAccessRoot summary: Invoke action updateRequest + description: Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.group.assignmentScheduleRequests.privilegedAccessGroupAssignmentScheduleRequest.updateRequest parameters: - name: privilegedAccessGroupAssignmentScheduleRequest-id @@ -460643,54 +462047,348 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.phoneAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.phoneAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.authentication + summary: Create new navigation property to phoneMethods for me + operationId: me.authentication.CreatePhoneMethods + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}': + description: Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get phoneAuthenticationMethod + description: 'Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-get?view=graph-rest-1.0 + operationId: me.authentication.GetPhoneMethods + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.authentication + summary: Update the navigation property phoneMethods in me + operationId: me.authentication.UpdatePhoneMethods + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.authentication + summary: Delete phoneAuthenticationMethod + description: 'Delete a user''s phone authentication method. This removes the phone number from the user and they''ll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can''t have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user''s default Azure multi-factor authentication (MFA) authentication method, it can''t be deleted. Have the user change their default authentication method, and then delete the number.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-delete?view=graph-rest-1.0 + operationId: me.authentication.DeletePhoneMethods + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': + description: Provides operations to call the disableSmsSignIn method. + post: + tags: + - me.authentication + summary: Invoke action disableSmsSignIn + description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 + operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': + description: Provides operations to call the enableSmsSignIn method. + post: + tags: + - me.authentication + summary: Invoke action enableSmsSignIn + description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 + operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + /me/authentication/phoneMethods/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - me.authentication + summary: Get the number of the resource + operationId: me.authentication.phoneMethods.GetCount-d96d + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /me/authentication/platformCredentialMethods: + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: List platformCredentialAuthenticationMethods + description: Get a list of the platformCredentialAuthenticationMethod objects and their properties. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-list?view=graph-rest-1.0 + operationId: me.authentication.ListPlatformCredentialMethods + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get platformCredentialAuthenticationMethod + description: Read the properties and relationships of a platformCredentialAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-get?view=graph-rest-1.0 + operationId: me.authentication.GetPlatformCredentialMethods + parameters: + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-operation-type: operation - post: + delete: tags: - me.authentication - summary: Create new navigation property to phoneMethods for me - operationId: me.authentication.CreatePhoneMethods - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - required: true + summary: Delete navigation property platformCredentialMethods for me + operationId: me.authentication.DeletePlatformCredentialMethods + parameters: + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string responses: - '201': - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}': - description: Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. + '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. get: tags: - me.authentication - summary: Get phoneAuthenticationMethod - description: 'Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-get?view=graph-rest-1.0 - operationId: me.authentication.GetPhoneMethods + summary: Get device from me + description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' + operationId: me.authentication.platformCredentialMethods.GetDevice parameters: - - name: phoneAuthenticationMethod-id + - name: platformCredentialAuthenticationMethod-id in: path - description: The unique identifier of phoneAuthenticationMethod + description: The unique identifier of platformCredentialAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: phoneAuthenticationMethod + x-ms-docs-key-type: platformCredentialAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -460717,121 +462415,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - me.authentication - summary: Update the navigation property phoneMethods in me - operationId: me.authentication.UpdatePhoneMethods - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - me.authentication - summary: Delete phoneAuthenticationMethod - description: 'Delete a user''s phone authentication method. This removes the phone number from the user and they''ll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can''t have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user''s default Azure multi-factor authentication (MFA) authentication method, it can''t be deleted. Have the user change their default authentication method, and then delete the number.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-delete?view=graph-rest-1.0 - operationId: me.authentication.DeletePhoneMethods - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + $ref: '#/components/schemas/microsoft.graph.device' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': - description: Provides operations to call the disableSmsSignIn method. - post: - tags: - - me.authentication - summary: Invoke action disableSmsSignIn - description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 - operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': - description: Provides operations to call the enableSmsSignIn method. - post: - tags: - - me.authentication - summary: Invoke action enableSmsSignIn - description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 - operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - /me/authentication/phoneMethods/$count: + /me/authentication/platformCredentialMethods/$count: description: Provides operations to count the resources in the collection. get: tags: - me.authentication summary: Get the number of the resource - operationId: me.authentication.phoneMethods.GetCount-d96d + operationId: me.authentication.platformCredentialMethods.GetCount-4808 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -460840,17 +462434,14 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - /me/authentication/platformCredentialMethods: - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + /me/authentication/resourceAccountKeyAuthenticationMethods: + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: List platformCredentialAuthenticationMethods - description: Get a list of the platformCredentialAuthenticationMethod objects and their properties. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-list?view=graph-rest-1.0 - operationId: me.authentication.ListPlatformCredentialMethods + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.ListResourceAccountKeyAuthenticationMethods parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -460889,32 +462480,29 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation - '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: Get platformCredentialAuthenticationMethod - description: Read the properties and relationships of a platformCredentialAuthenticationMethod object. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-get?view=graph-rest-1.0 - operationId: me.authentication.GetPlatformCredentialMethods + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.GetResourceAccountKeyAuthenticationMethods parameters: - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -460941,23 +462529,23 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - me.authentication - summary: Delete navigation property platformCredentialMethods for me - operationId: me.authentication.DeletePlatformCredentialMethods + summary: Delete navigation property resourceAccountKeyAuthenticationMethods for me + operationId: me.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: If-Match in: header description: ETag @@ -460969,22 +462557,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': - description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. get: tags: - me.authentication summary: Get device from me - description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' - operationId: me.authentication.platformCredentialMethods.GetDevice + description: The registered device on which this resource account key resides. Supports $expand. + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetDevice parameters: - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -461015,13 +462603,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - /me/authentication/platformCredentialMethods/$count: + /me/authentication/resourceAccountKeyAuthenticationMethods/$count: description: Provides operations to count the resources in the collection. get: tags: - me.authentication summary: Get the number of the resource - operationId: me.authentication.platformCredentialMethods.GetCount-4808 + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetCount-5587 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -486444,6 +488032,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -488599,6 +490251,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -494312,6 +496028,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -495754,6 +497534,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -499744,6 +501581,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -501602,12 +503496,78 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -501618,28 +503578,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -524673,7 +526624,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -526763,7 +528714,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -589522,6 +591473,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.directory.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest parameters: - name: unifiedRoleAssignmentScheduleRequest-id @@ -590514,7 +592469,7 @@ paths: tags: - roleManagement.rbacApplication summary: Delete unifiedRoleDefinition - description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. + description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. Deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -594121,6 +596076,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.entitlementManagement.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest parameters: - name: unifiedRoleAssignmentScheduleRequest-id @@ -636212,6 +638171,68 @@ paths: - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -637562,6 +639583,61 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -639556,6 +641632,61 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.listItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -640124,6 +642255,54 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -648974,28 +651153,110 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - sites.list - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.revokeGrants parameters: - name: site-id in: path @@ -649032,12 +651293,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -649048,25 +651304,16 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -650635,6 +652882,67 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -664726,6 +667034,60 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -720308,6 +722670,59 @@ paths: operationName: listMore x-ms-docs-grouped-path: - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.grant' + '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.containers.fileStorageContainer.permissions.permission.revokeGrants + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -724158,6 +726573,59 @@ paths: operationName: listMore x-ms-docs-grouped-path: - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.grant' + '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.deletedContainers.fileStorageContainer.permissions.permission.revokeGrants + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -753949,52 +756417,286 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.authentication + summary: Update phoneAuthenticationMethod + description: 'Update a user''s phone number associated with a phone authentication method object. You can''t change a phone''s type. To change a phone''s type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren''t supported.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-update?view=graph-rest-1.0 + operationId: users.authentication.UpdatePhoneMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.authentication + summary: Delete navigation property phoneMethods for users + operationId: users.authentication.DeletePhoneMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': + description: Provides operations to call the disableSmsSignIn method. + post: + tags: + - users.authentication + summary: Invoke action disableSmsSignIn + description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 + operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': + description: Provides operations to call the enableSmsSignIn method. + post: + tags: + - users.authentication + summary: Invoke action enableSmsSignIn + description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 + operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/users/{user-id}/authentication/phoneMethods/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.authentication + summary: Get the number of the resource + operationId: users.authentication.phoneMethods.GetCount-2ea0 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/authentication/platformCredentialMethods': + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get platformCredentialMethods from users + description: Represents a platform credential instance registered to a user on Mac OS. + operationId: users.authentication.ListPlatformCredentialMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get platformCredentialMethods from users + description: Represents a platform credential instance registered to a user on Mac OS. + operationId: users.authentication.GetPlatformCredentialMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + delete: tags: - users.authentication - summary: Update phoneAuthenticationMethod - description: 'Update a user''s phone number associated with a phone authentication method object. You can''t change a phone''s type. To change a phone''s type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren''t supported.' + summary: Delete platformCredentialAuthenticationMethod + description: Delete a platformCredentialAuthenticationMethod object. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-update?view=graph-rest-1.0 - operationId: users.authentication.UpdatePhoneMethods - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - required: true - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.authentication - summary: Delete navigation property phoneMethods for users - operationId: users.authentication.DeletePhoneMethods + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeletePlatformCredentialMethods parameters: - name: user-id in: path @@ -754003,13 +756705,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id + - name: platformCredentialAuthenticationMethod-id in: path - description: The unique identifier of phoneAuthenticationMethod + description: The unique identifier of platformCredentialAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: phoneAuthenticationMethod + x-ms-docs-key-type: platformCredentialAuthenticationMethod - name: If-Match in: header description: ETag @@ -754021,17 +756723,14 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': - description: Provides operations to call the disableSmsSignIn method. - post: + '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + get: tags: - users.authentication - summary: Invoke action disableSmsSignIn - description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 - operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn + summary: Get device from users + description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' + operationId: users.authentication.platformCredentialMethods.GetDevice parameters: - name: user-id in: path @@ -754040,58 +756739,50 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id + - name: platformCredentialAuthenticationMethod-id in: path - description: The unique identifier of phoneAuthenticationMethod + description: The unique identifier of platformCredentialAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: phoneAuthenticationMethod - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': - description: Provides operations to call the enableSmsSignIn method. - post: - tags: - - users.authentication - summary: Invoke action enableSmsSignIn - description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 - operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod + uniqueItems: true + type: array + items: + type: string responses: - '204': - description: Success + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.device' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/users/{user-id}/authentication/phoneMethods/$count': + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/platformCredentialMethods/$count': description: Provides operations to count the resources in the collection. get: tags: - users.authentication summary: Get the number of the resource - operationId: users.authentication.phoneMethods.GetCount-2ea0 + operationId: users.authentication.platformCredentialMethods.GetCount-66e6 parameters: - name: user-id in: path @@ -754107,14 +756798,17 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - '/users/{user-id}/authentication/platformCredentialMethods': - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - users.authentication - summary: Get platformCredentialMethods from users - description: Represents a platform credential instance registered to a user on Mac OS. - operationId: users.authentication.ListPlatformCredentialMethods + summary: List resourceAccountKeyAuthenticationMethods + description: Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/authentication-list-resourceaccountkeyauthenticationmethods?view=graph-rest-1.0 + operationId: users.authentication.ListResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -754160,21 +756854,24 @@ paths: type: string responses: '200': - $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - users.authentication - summary: Get platformCredentialMethods from users - description: Represents a platform credential instance registered to a user on Mac OS. - operationId: users.authentication.GetPlatformCredentialMethods + summary: Get resourceAccountKeyAuthenticationMethod + description: Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-get?view=graph-rest-1.0 + operationId: users.authentication.GetResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -754183,13 +756880,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -754216,19 +756913,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.authentication - summary: Delete platformCredentialAuthenticationMethod - description: Delete a platformCredentialAuthenticationMethod object. + summary: Delete resourceAccountKeyAuthenticationMethod + description: Delete a resourceAccountKeyAuthenticationMethod object. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 - operationId: users.authentication.DeletePlatformCredentialMethods + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -754237,13 +756934,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: If-Match in: header description: ETag @@ -754255,14 +756952,14 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': - description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. get: tags: - users.authentication summary: Get device from users - description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' - operationId: users.authentication.platformCredentialMethods.GetDevice + description: The registered device on which this resource account key resides. Supports $expand. + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetDevice parameters: - name: user-id in: path @@ -754271,13 +756968,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -754308,13 +757005,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/$count': + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/$count': description: Provides operations to count the resources in the collection. get: tags: - users.authentication summary: Get the number of the resource - operationId: users.authentication.platformCredentialMethods.GetCount-66e6 + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetCount-f526 parameters: - name: user-id in: path @@ -783395,41 +786092,142 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.items.listItem.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.items.listItem.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag schema: - uniqueItems: true - type: array - items: - type: string + type: string responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.permission' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Update the navigation property permissions in users - operationId: users.drives.items.listItem.UpdatePermissions + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -783460,77 +786258,61 @@ paths: type: string x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property permissions for users - operationId: users.drives.items.listItem.DeletePermissions - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: permission-id - in: path - description: The unique identifier of permission - required: true - schema: - type: string - x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - users.drive - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants parameters: - name: user-id in: path @@ -783567,12 +786349,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -783583,28 +786360,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -786023,6 +788791,77 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -792618,6 +795457,77 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -794274,6 +797184,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -798936,6 +801910,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -801095,6 +804133,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -827754,7 +830856,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -830116,7 +833218,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -864862,6 +867964,21 @@ components: type: boolean description: Password is required or not for work profile description: Android Work Profile general device configuration. + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyDetail + type: object + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyReviewer + type: object + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusySimple + type: object microsoft.graph.anonymousGuestConversationMember: allOf: - $ref: '#/components/schemas/microsoft.graph.conversationMember' @@ -865894,6 +869011,12 @@ components: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' description: Represents a platform credential instance registered to a user on Mac OS. x-ms-navigationProperty: true + resourceAccountKeyAuthenticationMethods: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + x-ms-navigationProperty: true softwareOathMethods: type: array items: @@ -877589,7 +880712,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLabel' - description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups.' + description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling.' assignedLicenses: type: array items: @@ -885970,11 +889093,11 @@ components: properties: activity: type: string - description: 'The supplemental information to a user''s availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown.' + description: 'The supplemental information to a user''s availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown.' nullable: true availability: type: string - description: 'The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown.' + description: 'The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown.' nullable: true outOfOfficeSettings: anyOf: @@ -886813,6 +889936,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.roleManagementCustomCalloutExtension' + description: The custom extensions configured for PIM role management operations. x-ms-navigationProperty: true group: anyOf: @@ -888036,6 +891160,23 @@ components: isPartnerConsentPending: type: boolean description: Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. + microsoft.graph.resourceAccountKeyAuthenticationMethod: + allOf: + - $ref: '#/components/schemas/microsoft.graph.authenticationMethod' + - title: resourceAccountKeyAuthenticationMethod + type: object + properties: + displayName: + type: string + description: The display name of the resource account key credential as shown in the Teams Room interface. + nullable: true + device: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.device' + - type: object + nullable: true + description: The registered device on which this resource account key resides. Supports $expand. + x-ms-navigationProperty: true microsoft.graph.resourceOperation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -888668,6 +891809,7 @@ components: items: type: string nullable: true + description: The custom attribute names to include in the callout payload. resourceType: $ref: '#/components/schemas/microsoft.graph.customExtensionResourceType' type: @@ -894315,14 +897457,18 @@ components: type: array items: type: string + description: The custom attributes associated with the policy rule. Read-only. customExtensionId: type: string + description: The unique identifier of the roleManagementCustomCalloutExtension associated with this rule. nullable: true displayName: type: string + description: The display name of the policy rule. Read-only. nullable: true isEnabled: type: boolean + description: Indicates whether the custom extension rule is enabled. nullable: true microsoft.graph.unifiedRoleManagementPolicyEnablementRule: allOf: @@ -907807,14 +910953,14 @@ components: maximum: 2147483647 minimum: -2147483648 type: number - description: 'The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies.' + description: 'The max number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies.' format: int32 nullable: true timeoutInMilliseconds: maximum: 2147483647 minimum: -2147483648 type: number - description: The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + description: 'The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds and the default is 1000 milliseconds.' format: int32 nullable: true microsoft.graph.customExtensionData: @@ -910299,6 +913445,10 @@ components: title: fileStorageContainerCustomPropertyValue type: object properties: + isPatternToken: + type: boolean + description: 'Indicates whether value is a urlTemplate pattern (for example, a token such as {itemId} used to configure redirect behavior when opening files), rather than a literal value that consumers must resolve before use. Optional. The default value is false.' + nullable: true isSearchable: type: boolean description: Indicates whether the custom property is searchable. Optional. The default value is false. @@ -910337,6 +913487,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -910383,6 +913536,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -910744,7 +913900,7 @@ components: properties: targetUrl: type: string - description: The HTTP endpoint that a custom extension calls. + description: The URL of the HTTP endpoint that Microsoft Entra ID calls for the custom extension. nullable: true microsoft.graph.hyperlinkOrPictureColumn: title: hyperlinkOrPictureColumn @@ -916519,6 +919675,16 @@ components: - type: object nullable: true description: Details of the system. + microsoft.graph.provisionResponse: + title: provisionResponse + type: object + properties: + challenge: + type: string + description: The cryptographic challenge that the device uses to complete its registration with the directory. + deviceId: + type: string + description: The unique identifier of the provisioned device. microsoft.graph.proxiedDomain: title: proxiedDomain type: object @@ -917009,6 +920175,19 @@ components: nullable: true relationship: $ref: '#/components/schemas/microsoft.graph.contactRelationship' + microsoft.graph.relatedTenantsRefreshStatus: + title: relatedTenantsRefreshStatus + type: object + properties: + isFirstRefresh: + type: boolean + mostRecentRefreshDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + mostRecentRefreshRequestStatus: + type: string + description: Represents the status of the most recent Related Tenants refresh operation. microsoft.graph.relationshipPolicy: title: relationshipPolicy type: object @@ -927948,6 +931127,7 @@ components: - itemMajorVersionLimit - maxStoragePerContainerInBytes - unknownFutureValue + - isOfficeRestricted type: string x-ms-enum-flags: isFlags: true @@ -933145,6 +936325,7 @@ components: - ios - android - mac + - linux - unknownFutureValue type: string x-ms-enum-flags: @@ -940225,6 +943406,12 @@ components: type: string nullable: true description: The collection of administrative unit IDs to filter on. + approximateReturnedRecordCount: + type: number + description: The approximate number of records retrieved by the query. This value can be higher or lower than recordCountLimit due to distributed counting. Read-only. + format: int64 + nullable: true + readOnly: true displayName: type: string description: The display name of the audit log query. @@ -940247,9 +943434,13 @@ components: type: string nullable: true description: The collection of IP addresses to filter on. + isRecordCountLimitExceeded: + type: boolean + description: Indicates whether the query exceeded the per-search record-count limit. The default value is false. A value of true is authoritative and isn't derived from approximateReturnedRecordCount. Read-only. + readOnly: true keywordFilter: type: string - description: The keyword to filter on. + description: 'Free text to match against the non-indexed content of each record: the workload-specific properties inside auditData, including its AppAccessContext object. The indexed common-schema properties, such as the operation name, aren''t matched by keyword; use their own filters, such as operationFilters, for those.' nullable: true objectIdFilters: type: array @@ -940263,6 +943454,12 @@ components: type: string nullable: true description: The collection of operations to filter on. + recordCountLimit: + type: number + description: The record-count threshold used to limit query result retrieval. Read-only. + format: int64 + nullable: true + readOnly: true recordTypeFilters: type: array items: @@ -951798,6 +954995,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + title: Collection of resourceAccountKeyAuthenticationMethod + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: title: Collection of softwareOathAuthenticationMethod type: object @@ -958695,6 +961903,39 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMember' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyDetail + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyReviewer + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusySimple + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimple' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: title: Collection of crossTenantCalendarAvailabilityBasic type: object @@ -965150,6 +968391,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: description: Retrieved collection content: @@ -968912,6 +972159,24 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMemberCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: description: Retrieved collection content: @@ -972995,6 +976260,12 @@ components: '@odata.type': microsoft.graph.androidWorkProfileRequiredPasswordType workProfilePasswordSignInFailureCountBeforeFactoryReset: '0' workProfileRequirePassword: 'true' + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + value: { } microsoft.graph.anonymousGuestConversationMember: value: anonymousGuestId: String @@ -973304,6 +976575,8 @@ components: - '@odata.type': microsoft.graph.phoneAuthenticationMethod platformCredentialMethods: - '@odata.type': microsoft.graph.platformCredentialAuthenticationMethod + resourceAccountKeyAuthenticationMethods: + - '@odata.type': microsoft.graph.resourceAccountKeyAuthenticationMethod softwareOathMethods: - '@odata.type': microsoft.graph.softwareOathAuthenticationMethod temporaryAccessPassMethods: @@ -980060,6 +983333,11 @@ components: value: indirectProviderTenantId: String isPartnerConsentPending: 'true' + microsoft.graph.resourceAccountKeyAuthenticationMethod: + value: + device: + '@odata.type': microsoft.graph.device + displayName: String microsoft.graph.resourceOperation: value: actionName: String @@ -986919,6 +990197,7 @@ components: value: { } microsoft.graph.fileStorageContainerCustomPropertyValue: value: + isPatternToken: 'true' isSearchable: 'true' value: String microsoft.graph.fileStorageContainerSettings: @@ -986930,6 +990209,7 @@ components: value: isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -986943,6 +990223,7 @@ components: '@odata.type': microsoft.graph.fileStorageContainerTypeSettingsOverride isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -988954,6 +992235,10 @@ components: value: details: '@odata.type': microsoft.graph.detailsInfo + microsoft.graph.provisionResponse: + value: + challenge: String + deviceId: String microsoft.graph.proxiedDomain: value: ipAddressOrFQDN: String @@ -989106,6 +992391,11 @@ components: mobilePhone: String relationship: '@odata.type': microsoft.graph.contactRelationship + microsoft.graph.relatedTenantsRefreshStatus: + value: + isFirstRefresh: 'true' + mostRecentRefreshDateTime: '0001-01-01T00:00:00.0000000+00:00' + mostRecentRefreshRequestStatus: String microsoft.graph.relationshipPolicy: value: delegatedAdministrationRoleAssignments: @@ -992484,16 +995774,19 @@ components: value: administrativeUnitIdFilters: - String + approximateReturnedRecordCount: '0' displayName: String filterEndDateTime: '0001-01-01T00:00:00.0000000+00:00' filterStartDateTime: '0001-01-01T00:00:00.0000000+00:00' ipAddressFilters: - String + isRecordCountLimitExceeded: 'true' keywordFilter: String objectIdFilters: - String operationFilters: - String + recordCountLimit: '0' records: - '@odata.type': microsoft.graph.security.auditLogRecord recordTypeFilters: diff --git a/openapi/v1.0/graphexplorer.yaml b/openapi/v1.0/graphexplorer.yaml index 608fbe76..c5f01761 100644 --- a/openapi/v1.0/graphexplorer.yaml +++ b/openapi/v1.0/graphexplorer.yaml @@ -112317,6 +112317,37 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + /devices/microsoft.graph.provision: + description: Provides operations to call the provision method. + post: + tags: + - devices.device.Actions + summary: Invoke action provision + description: Provision a device on behalf of an approved Virtual Desktop Infrastructure (VDI) provider. This action wraps the Zero Touch Deployment (ZTD) protocol to create a device in a pending state in the customer's directory. The device can't be used for authentication until it completes its registration. The created device is stamped with a system label that identifies the approved VDI provider. Only VDI applications on Microsoft's approved list of VDI providers can successfully call this action. Calls from other applications are blocked even when the application is granted the required permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/device-provision?view=graph-rest-1.0 + operationId: devices.provision + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + provisioningBlob: + type: string + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.provisionResponse' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action /devices/microsoft.graph.validateProperties: description: Provides operations to call the validateProperties method. post: @@ -121157,6 +121188,26 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /directory/tenantGovernance/relatedTenants/microsoft.graph.refreshStatus(): + description: Provides operations to call the refreshStatus method. + get: + tags: + - directory.tenantGovernance + summary: Invoke function refreshStatus + operationId: directory.tenantGovernance.relatedTenants.refreshStatus + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.relatedTenantsRefreshStatus' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function /directory/tenantGovernance/settings: description: Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. get: @@ -133073,6 +133124,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -135401,6 +135509,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -142438,6 +142603,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -144069,6 +144291,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.list.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/list/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -149427,6 +149699,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/root/listItem/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -151479,6 +151801,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.root.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/root/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -160271,6 +160643,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -162858,6 +163294,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -170796,6 +171296,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -172662,6 +173226,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -178709,6 +179330,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -181037,6 +181715,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -228237,6 +228972,80 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -231155,6 +231964,80 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -240091,13 +240974,17 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.drive - summary: Get the number of the resource - operationId: groups.drives.list.items.permissions.GetCount-d4e2 + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.items.listItem.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -240120,110 +241007,54 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - '200': - $ref: '#/components/responses/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. - get: - tags: - - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.list.items.ListVersions - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: listItem-id + - name: permission-id in: path - description: The unique identifier of listItem + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - id desc - - lastModifiedBy - - lastModifiedBy desc - - lastModifiedDateTime - - lastModifiedDateTime desc - - publication - - publication desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - lastModifiedBy - - lastModifiedDateTime - - publication - - fields - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - - fields - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-operation-type: operation - post: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.list.items.CreateVersions + summary: Get the number of the resource + operationId: groups.drives.list.items.permissions.GetCount-d4e2 parameters: - name: group-id in: path @@ -240246,35 +241077,161 @@ paths: schema: type: string x-ms-docs-key-type: listItem - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - required: true + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '201': - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - groups.drive summary: Get versions from groups description: The list of previous versions of the list item. - operationId: groups.drives.list.items.GetVersions + operationId: groups.drives.list.items.ListVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - lastModifiedBy + - lastModifiedBy desc + - lastModifiedDateTime + - lastModifiedDateTime desc + - publication + - publication desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - lastModifiedBy + - lastModifiedDateTime + - publication + - fields + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - fields + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to versions for groups + operationId: groups.drives.list.items.CreateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.list.items.GetVersions parameters: - name: group-id in: path @@ -242197,6 +243154,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -248980,6 +250004,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -251639,6 +252730,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -289217,6 +290375,87 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -291533,13 +292772,17 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.site - summary: Get the number of the resource - operationId: groups.sites.lists.permissions.GetCount-dd2e + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -291562,150 +292805,54 @@ paths: schema: type: string x-ms-docs-key-type: list - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - '200': - $ref: '#/components/responses/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': - description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. - get: - tags: - - groups.site - summary: Get subscriptions from groups - description: The set of subscriptions on the list. - operationId: groups.sites.lists.ListSubscriptions - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: site-id - in: path - description: The unique identifier of site - required: true - schema: - type: string - x-ms-docs-key-type: site - - name: list-id + - name: permission-id in: path - description: The unique identifier of list + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: list - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - id desc - - applicationId - - applicationId desc - - changeType - - changeType desc - - clientState - - clientState desc - - creatorId - - creatorId desc - - encryptionCertificate - - encryptionCertificate desc - - encryptionCertificateId - - encryptionCertificateId desc - - expirationDateTime - - expirationDateTime desc - - includeResourceData - - includeResourceData desc - - latestSupportedTlsVersion - - latestSupportedTlsVersion desc - - lifecycleNotificationUrl - - lifecycleNotificationUrl desc - - notificationQueryOptions - - notificationQueryOptions desc - - notificationUrl - - notificationUrl desc - - notificationUrlAppId - - notificationUrlAppId desc - - resource - - resource desc - - vapidPublicKey - - vapidPublicKey desc - - webPushEncryptionP256dhPublicKey - - webPushEncryptionP256dhPublicKey desc - - webPushEncryptionSecret - - webPushEncryptionSecret desc - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - applicationId - - changeType - - clientState - - creatorId - - encryptionCertificate - - encryptionCertificateId - - expirationDateTime - - includeResourceData - - latestSupportedTlsVersion - - lifecycleNotificationUrl - - notificationQueryOptions - - notificationUrl - - notificationUrlAppId - - resource - - vapidPublicKey - - webPushEncryptionP256dhPublicKey - - webPushEncryptionSecret - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: '200': - $ref: '#/components/responses/microsoft.graph.subscriptionCollectionResponse' + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-operation-type: operation - post: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.site - summary: Create new navigation property to subscriptions for groups - operationId: groups.sites.lists.CreateSubscriptions + summary: Get the number of the resource + operationId: groups.sites.lists.permissions.GetCount-dd2e parameters: - name: group-id in: path @@ -291728,33 +292875,199 @@ paths: schema: type: string x-ms-docs-key-type: list - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.subscription' - required: true + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '201': - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.subscription' + '200': + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/list/subscriptions' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions/{subscription-id}': + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. get: tags: - groups.site summary: Get subscriptions from groups description: The set of subscriptions on the list. - operationId: groups.sites.lists.GetSubscriptions + operationId: groups.sites.lists.ListSubscriptions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - applicationId + - applicationId desc + - changeType + - changeType desc + - clientState + - clientState desc + - creatorId + - creatorId desc + - encryptionCertificate + - encryptionCertificate desc + - encryptionCertificateId + - encryptionCertificateId desc + - expirationDateTime + - expirationDateTime desc + - includeResourceData + - includeResourceData desc + - latestSupportedTlsVersion + - latestSupportedTlsVersion desc + - lifecycleNotificationUrl + - lifecycleNotificationUrl desc + - notificationQueryOptions + - notificationQueryOptions desc + - notificationUrl + - notificationUrl desc + - notificationUrlAppId + - notificationUrlAppId desc + - resource + - resource desc + - vapidPublicKey + - vapidPublicKey desc + - webPushEncryptionP256dhPublicKey + - webPushEncryptionP256dhPublicKey desc + - webPushEncryptionSecret + - webPushEncryptionSecret desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - applicationId + - changeType + - clientState + - creatorId + - encryptionCertificate + - encryptionCertificateId + - expirationDateTime + - includeResourceData + - latestSupportedTlsVersion + - lifecycleNotificationUrl + - notificationQueryOptions + - notificationUrl + - notificationUrlAppId + - resource + - vapidPublicKey + - webPushEncryptionP256dhPublicKey + - webPushEncryptionSecret + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.subscriptionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.site + summary: Create new navigation property to subscriptions for groups + operationId: groups.sites.lists.CreateSubscriptions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.subscription' + required: true + responses: + '201': + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.subscription' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/list/subscriptions' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions/{subscription-id}': + description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get subscriptions from groups + description: The set of subscriptions on the list. + operationId: groups.sites.lists.GetSubscriptions parameters: - name: group-id in: path @@ -312257,6 +313570,73 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -544553,7 +545933,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: List roleManagementCustomCalloutExtensions + description: Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-list-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.ListCustomExtensions parameters: - $ref: '#/components/parameters/top' @@ -544634,7 +546018,11 @@ paths: post: tags: - identityGovernance.privilegedAccessRoot - summary: Create new navigation property to customExtensions for identityGovernance + summary: Create roleManagementCustomCalloutExtension + description: Create a new roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-post-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.CreateCustomExtensions requestBody: description: New navigation property @@ -544658,7 +546046,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: Get roleManagementCustomCalloutExtension + description: Retrieve the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-get?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.GetCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -544713,7 +546105,11 @@ paths: patch: tags: - identityGovernance.privilegedAccessRoot - summary: Update the navigation property customExtensions in identityGovernance + summary: Update roleManagementCustomCalloutExtension + description: Update the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-update?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.UpdateCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -544739,7 +546135,11 @@ paths: delete: tags: - identityGovernance.privilegedAccessRoot - summary: Delete navigation property customExtensions for identityGovernance + summary: Delete roleManagementCustomCalloutExtension + description: Delete a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-delete?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.DeleteCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -546822,6 +548222,10 @@ paths: tags: - identityGovernance.privilegedAccessRoot summary: Invoke action updateRequest + description: Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.group.assignmentScheduleRequests.privilegedAccessGroupAssignmentScheduleRequest.updateRequest parameters: - name: privilegedAccessGroupAssignmentScheduleRequest-id @@ -559093,6 +560497,7 @@ paths: - passwordMethods - phoneMethods - platformCredentialMethods + - resourceAccountKeyAuthenticationMethods - softwareOathMethods - temporaryAccessPassMethods - windowsHelloForBusinessMethods @@ -559117,6 +560522,7 @@ paths: - passwordMethods - phoneMethods - platformCredentialMethods + - resourceAccountKeyAuthenticationMethods - softwareOathMethods - temporaryAccessPassMethods - windowsHelloForBusinessMethods @@ -561206,6 +562612,258 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' + /me/authentication/resourceAccountKeyAuthenticationMethods: + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.ListResourceAccountKeyAuthenticationMethods + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - createdDateTime + - createdDateTime desc + - displayName + - displayName desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdDateTime + - displayName + - device + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - device + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.GetResourceAccountKeyAuthenticationMethods + parameters: + - name: resourceAccountKeyAuthenticationMethod-id + in: path + description: The unique identifier of resourceAccountKeyAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdDateTime + - displayName + - device + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - device + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.authentication + summary: Delete navigation property resourceAccountKeyAuthenticationMethods for me + operationId: me.authentication.DeleteResourceAccountKeyAuthenticationMethods + parameters: + - name: resourceAccountKeyAuthenticationMethod-id + in: path + description: The unique identifier of resourceAccountKeyAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. + get: + tags: + - me.authentication + summary: Get device from me + description: The registered device on which this resource account key resides. Supports $expand. + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetDevice + parameters: + - name: resourceAccountKeyAuthenticationMethod-id + in: path + description: The unique identifier of resourceAccountKeyAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - deletedDateTime + - accountEnabled + - alternativeSecurityIds + - approximateLastSignInDateTime + - complianceExpirationDateTime + - deviceCategory + - deviceId + - deviceMetadata + - deviceOwnership + - deviceVersion + - displayName + - enrollmentProfileName + - enrollmentType + - isCompliant + - isManaged + - isManagementRestricted + - isRooted + - managementType + - manufacturer + - mdmAppId + - model + - onPremisesLastSyncDateTime + - onPremisesSecurityIdentifier + - onPremisesSyncEnabled + - operatingSystem + - operatingSystemVersion + - physicalIds + - profileType + - registrationDateTime + - systemLabels + - trustType + - extensions + - memberOf + - registeredOwners + - registeredUsers + - transitiveMemberOf + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - extensions + - memberOf + - registeredOwners + - registeredUsers + - transitiveMemberOf + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.device' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + /me/authentication/resourceAccountKeyAuthenticationMethods/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - me.authentication + summary: Get the number of the resource + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetCount-5587 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' /me/authentication/softwareOathMethods: description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. get: @@ -595473,6 +597131,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -598132,12 +599854,85 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -598148,28 +599943,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -606099,6 +607885,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -608015,6 +609865,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -614066,6 +615973,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -616504,6 +618468,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -644668,7 +646689,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -647130,7 +649151,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -722439,6 +724460,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.directory.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest parameters: - name: unifiedRoleAssignmentScheduleRequest-id @@ -723766,7 +725791,7 @@ paths: tags: - roleManagement.rbacApplication summary: Delete unifiedRoleDefinition - description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. + description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. Deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -728359,6 +730384,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.entitlementManagement.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest parameters: - name: unifiedRoleAssignmentScheduleRequest-id @@ -737747,6 +739776,8 @@ paths: - id desc - administrativeUnitIdFilters - administrativeUnitIdFilters desc + - approximateReturnedRecordCount + - approximateReturnedRecordCount desc - displayName - displayName desc - filterEndDateTime @@ -737755,12 +739786,16 @@ paths: - filterStartDateTime desc - ipAddressFilters - ipAddressFilters desc + - isRecordCountLimitExceeded + - isRecordCountLimitExceeded desc - keywordFilter - keywordFilter desc - objectIdFilters - objectIdFilters desc - operationFilters - operationFilters desc + - recordCountLimit + - recordCountLimit desc - recordTypeFilters - recordTypeFilters desc - serviceFilters @@ -737782,13 +739817,16 @@ paths: enum: - id - administrativeUnitIdFilters + - approximateReturnedRecordCount - displayName - filterEndDateTime - filterStartDateTime - ipAddressFilters + - isRecordCountLimitExceeded - keywordFilter - objectIdFilters - operationFilters + - recordCountLimit - recordTypeFilters - serviceFilters - status @@ -737874,13 +739912,16 @@ paths: enum: - id - administrativeUnitIdFilters + - approximateReturnedRecordCount - displayName - filterEndDateTime - filterStartDateTime - ipAddressFilters + - isRecordCountLimitExceeded - keywordFilter - objectIdFilters - operationFilters + - recordCountLimit - recordTypeFilters - serviceFilters - status @@ -782697,30 +784738,106 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - shares.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.grant + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}' - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - shares.list - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.revokeGrants parameters: - name: sharedDriveItem-id in: path @@ -782750,12 +784867,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -782766,26 +784878,17 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -784610,6 +786713,61 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -787412,6 +789570,61 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.listItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -788026,6 +790239,54 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -800848,6 +803109,74 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -802890,6 +805219,67 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -821027,6 +823417,60 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -886007,6 +888451,59 @@ paths: operationName: listMore x-ms-docs-grouped-path: - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.grant' + '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.containers.fileStorageContainer.permissions.permission.revokeGrants + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -891369,6 +893866,59 @@ paths: operationName: listMore x-ms-docs-grouped-path: - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.grant' + '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.deletedContainers.fileStorageContainer.permissions.permission.revokeGrants + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -926049,6 +928599,7 @@ paths: - passwordMethods - phoneMethods - platformCredentialMethods + - resourceAccountKeyAuthenticationMethods - softwareOathMethods - temporaryAccessPassMethods - windowsHelloForBusinessMethods @@ -926073,6 +928624,7 @@ paths: - passwordMethods - phoneMethods - platformCredentialMethods + - resourceAccountKeyAuthenticationMethods - softwareOathMethods - temporaryAccessPassMethods - windowsHelloForBusinessMethods @@ -928362,8 +930914,305 @@ paths: - id - createdDateTime - displayName - - keyStrength - - platform + - keyStrength + - platform + - device + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - device + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.authentication + summary: Delete platformCredentialAuthenticationMethod + description: Delete a platformCredentialAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeletePlatformCredentialMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + get: + tags: + - users.authentication + summary: Get device from users + description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' + operationId: users.authentication.platformCredentialMethods.GetDevice + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - deletedDateTime + - accountEnabled + - alternativeSecurityIds + - approximateLastSignInDateTime + - complianceExpirationDateTime + - deviceCategory + - deviceId + - deviceMetadata + - deviceOwnership + - deviceVersion + - displayName + - enrollmentProfileName + - enrollmentType + - isCompliant + - isManaged + - isManagementRestricted + - isRooted + - managementType + - manufacturer + - mdmAppId + - model + - onPremisesLastSyncDateTime + - onPremisesSecurityIdentifier + - onPremisesSyncEnabled + - operatingSystem + - operatingSystemVersion + - physicalIds + - profileType + - registrationDateTime + - systemLabels + - trustType + - extensions + - memberOf + - registeredOwners + - registeredUsers + - transitiveMemberOf + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - extensions + - memberOf + - registeredOwners + - registeredUsers + - transitiveMemberOf + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.device' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/platformCredentialMethods/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.authentication + summary: Get the number of the resource + operationId: users.authentication.platformCredentialMethods.GetCount-66e6 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + '200': + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: List resourceAccountKeyAuthenticationMethods + description: Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/authentication-list-resourceaccountkeyauthenticationmethods?view=graph-rest-1.0 + operationId: users.authentication.ListResourceAccountKeyAuthenticationMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - id desc + - createdDateTime + - createdDateTime desc + - displayName + - displayName desc + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdDateTime + - displayName + - device + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + - device + type: string + responses: + '200': + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get resourceAccountKeyAuthenticationMethod + description: Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-get?view=graph-rest-1.0 + operationId: users.authentication.GetResourceAccountKeyAuthenticationMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: resourceAccountKeyAuthenticationMethod-id + in: path + description: The unique identifier of resourceAccountKeyAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - createdDateTime + - displayName - device type: string - name: $expand @@ -928385,19 +931234,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.authentication - summary: Delete platformCredentialAuthenticationMethod - description: Delete a platformCredentialAuthenticationMethod object. + summary: Delete resourceAccountKeyAuthenticationMethod + description: Delete a resourceAccountKeyAuthenticationMethod object. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 - operationId: users.authentication.DeletePlatformCredentialMethods + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -928406,13 +931255,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: If-Match in: header description: ETag @@ -928424,14 +931273,14 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': - description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. get: tags: - users.authentication summary: Get device from users - description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' - operationId: users.authentication.platformCredentialMethods.GetDevice + description: The registered device on which this resource account key resides. Supports $expand. + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetDevice parameters: - name: user-id in: path @@ -928440,13 +931289,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -928522,13 +931371,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/$count': + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/$count': description: Provides operations to count the resources in the collection. get: tags: - users.authentication summary: Get the number of the resource - operationId: users.authentication.platformCredentialMethods.GetCount-66e6 + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetCount-f526 parameters: - name: user-id in: path @@ -966447,56 +969296,157 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - enum: - - id - - expirationDateTime - - grantedTo - - grantedToIdentities - - grantedToIdentitiesV2 - - grantedToV2 - - hasPassword - - inheritedFrom - - invitation - - link - - roles - - shareId - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - id + - expirationDateTime + - grantedTo + - grantedToIdentities + - grantedToIdentitiesV2 + - grantedToV2 + - hasPassword + - inheritedFrom + - invitation + - link + - roles + - shareId + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + enum: + - '*' + type: string + responses: + '200': + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.items.listItem.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.items.listItem.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag schema: - uniqueItems: true - type: array - items: - enum: - - '*' - type: string + type: string responses: - '200': - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.permission' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Update the navigation property permissions in users - operationId: users.drives.items.listItem.UpdatePermissions + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -966527,77 +969477,61 @@ paths: type: string x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property permissions for users - operationId: users.drives.items.listItem.DeletePermissions - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: permission-id - in: path - description: The unique identifier of permission - required: true - schema: - type: string - x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': + '200': description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - users.drive - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants parameters: - name: user-id in: path @@ -966634,12 +969568,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -966650,28 +969579,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - allOf: - - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' + nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -969632,6 +972552,77 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -978443,6 +981434,77 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -980573,6 +983635,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -987296,6 +990422,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -989997,6 +993187,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + '200': + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -1021787,7 +1025041,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -1024521,7 +1027775,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -1064846,6 +1068100,21 @@ components: type: boolean description: Password is required or not for work profile description: Android Work Profile general device configuration. + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyDetail + type: object + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyReviewer + type: object + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusySimple + type: object microsoft.graph.anonymousGuestConversationMember: allOf: - $ref: '#/components/schemas/microsoft.graph.conversationMember' @@ -1065878,6 +1069147,12 @@ components: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' description: Represents a platform credential instance registered to a user on Mac OS. x-ms-navigationProperty: true + resourceAccountKeyAuthenticationMethods: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + x-ms-navigationProperty: true softwareOathMethods: type: array items: @@ -1077573,7 +1080848,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLabel' - description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups.' + description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling.' assignedLicenses: type: array items: @@ -1085954,11 +1089229,11 @@ components: properties: activity: type: string - description: 'The supplemental information to a user''s availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown.' + description: 'The supplemental information to a user''s availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown.' nullable: true availability: type: string - description: 'The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown.' + description: 'The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown.' nullable: true outOfOfficeSettings: anyOf: @@ -1086797,6 +1090072,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.roleManagementCustomCalloutExtension' + description: The custom extensions configured for PIM role management operations. x-ms-navigationProperty: true group: anyOf: @@ -1088020,6 +1091296,23 @@ components: isPartnerConsentPending: type: boolean description: Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. + microsoft.graph.resourceAccountKeyAuthenticationMethod: + allOf: + - $ref: '#/components/schemas/microsoft.graph.authenticationMethod' + - title: resourceAccountKeyAuthenticationMethod + type: object + properties: + displayName: + type: string + description: The display name of the resource account key credential as shown in the Teams Room interface. + nullable: true + device: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.device' + - type: object + nullable: true + description: The registered device on which this resource account key resides. Supports $expand. + x-ms-navigationProperty: true microsoft.graph.resourceOperation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -1088652,6 +1091945,7 @@ components: items: type: string nullable: true + description: The custom attribute names to include in the callout payload. resourceType: $ref: '#/components/schemas/microsoft.graph.customExtensionResourceType' type: @@ -1094299,14 +1097593,18 @@ components: type: array items: type: string + description: The custom attributes associated with the policy rule. Read-only. customExtensionId: type: string + description: The unique identifier of the roleManagementCustomCalloutExtension associated with this rule. nullable: true displayName: type: string + description: The display name of the policy rule. Read-only. nullable: true isEnabled: type: boolean + description: Indicates whether the custom extension rule is enabled. nullable: true microsoft.graph.unifiedRoleManagementPolicyEnablementRule: allOf: @@ -1107791,14 +1111089,14 @@ components: maximum: 2147483647 minimum: -2147483648 type: number - description: 'The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies.' + description: 'The max number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies.' format: int32 nullable: true timeoutInMilliseconds: maximum: 2147483647 minimum: -2147483648 type: number - description: The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + description: 'The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds and the default is 1000 milliseconds.' format: int32 nullable: true microsoft.graph.customExtensionData: @@ -1110283,6 +1113581,10 @@ components: title: fileStorageContainerCustomPropertyValue type: object properties: + isPatternToken: + type: boolean + description: 'Indicates whether value is a urlTemplate pattern (for example, a token such as {itemId} used to configure redirect behavior when opening files), rather than a literal value that consumers must resolve before use. Optional. The default value is false.' + nullable: true isSearchable: type: boolean description: Indicates whether the custom property is searchable. Optional. The default value is false. @@ -1110321,6 +1113623,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -1110367,6 +1113672,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -1110728,7 +1114036,7 @@ components: properties: targetUrl: type: string - description: The HTTP endpoint that a custom extension calls. + description: The URL of the HTTP endpoint that Microsoft Entra ID calls for the custom extension. nullable: true microsoft.graph.hyperlinkOrPictureColumn: title: hyperlinkOrPictureColumn @@ -1116503,6 +1119811,16 @@ components: - type: object nullable: true description: Details of the system. + microsoft.graph.provisionResponse: + title: provisionResponse + type: object + properties: + challenge: + type: string + description: The cryptographic challenge that the device uses to complete its registration with the directory. + deviceId: + type: string + description: The unique identifier of the provisioned device. microsoft.graph.proxiedDomain: title: proxiedDomain type: object @@ -1116993,6 +1120311,19 @@ components: nullable: true relationship: $ref: '#/components/schemas/microsoft.graph.contactRelationship' + microsoft.graph.relatedTenantsRefreshStatus: + title: relatedTenantsRefreshStatus + type: object + properties: + isFirstRefresh: + type: boolean + mostRecentRefreshDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + mostRecentRefreshRequestStatus: + type: string + description: Represents the status of the most recent Related Tenants refresh operation. microsoft.graph.relationshipPolicy: title: relationshipPolicy type: object @@ -1127932,6 +1131263,7 @@ components: - itemMajorVersionLimit - maxStoragePerContainerInBytes - unknownFutureValue + - isOfficeRestricted type: string x-ms-enum-flags: isFlags: true @@ -1133129,6 +1136461,7 @@ components: - ios - android - mac + - linux - unknownFutureValue type: string x-ms-enum-flags: @@ -1140209,6 +1143542,12 @@ components: type: string nullable: true description: The collection of administrative unit IDs to filter on. + approximateReturnedRecordCount: + type: number + description: The approximate number of records retrieved by the query. This value can be higher or lower than recordCountLimit due to distributed counting. Read-only. + format: int64 + nullable: true + readOnly: true displayName: type: string description: The display name of the audit log query. @@ -1140231,9 +1143570,13 @@ components: type: string nullable: true description: The collection of IP addresses to filter on. + isRecordCountLimitExceeded: + type: boolean + description: Indicates whether the query exceeded the per-search record-count limit. The default value is false. A value of true is authoritative and isn't derived from approximateReturnedRecordCount. Read-only. + readOnly: true keywordFilter: type: string - description: The keyword to filter on. + description: 'Free text to match against the non-indexed content of each record: the workload-specific properties inside auditData, including its AppAccessContext object. The indexed common-schema properties, such as the operation name, aren''t matched by keyword; use their own filters, such as operationFilters, for those.' nullable: true objectIdFilters: type: array @@ -1140247,6 +1143590,12 @@ components: type: string nullable: true description: The collection of operations to filter on. + recordCountLimit: + type: number + description: The record-count threshold used to limit query result retrieval. Read-only. + format: int64 + nullable: true + readOnly: true recordTypeFilters: type: array items: @@ -1151782,6 +1155131,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + title: Collection of resourceAccountKeyAuthenticationMethod + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: title: Collection of softwareOathAuthenticationMethod type: object @@ -1158679,6 +1162039,39 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMember' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyDetail + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyReviewer + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusySimple + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimple' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: title: Collection of crossTenantCalendarAvailabilityBasic type: object @@ -1165134,6 +1168527,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: description: Retrieved collection content: @@ -1168896,6 +1172295,24 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMemberCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: description: Retrieved collection content: @@ -1172979,6 +1176396,12 @@ components: '@odata.type': microsoft.graph.androidWorkProfileRequiredPasswordType workProfilePasswordSignInFailureCountBeforeFactoryReset: '0' workProfileRequirePassword: 'true' + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + value: { } microsoft.graph.anonymousGuestConversationMember: value: anonymousGuestId: String @@ -1173288,6 +1176711,8 @@ components: - '@odata.type': microsoft.graph.phoneAuthenticationMethod platformCredentialMethods: - '@odata.type': microsoft.graph.platformCredentialAuthenticationMethod + resourceAccountKeyAuthenticationMethods: + - '@odata.type': microsoft.graph.resourceAccountKeyAuthenticationMethod softwareOathMethods: - '@odata.type': microsoft.graph.softwareOathAuthenticationMethod temporaryAccessPassMethods: @@ -1180044,6 +1183469,11 @@ components: value: indirectProviderTenantId: String isPartnerConsentPending: 'true' + microsoft.graph.resourceAccountKeyAuthenticationMethod: + value: + device: + '@odata.type': microsoft.graph.device + displayName: String microsoft.graph.resourceOperation: value: actionName: String @@ -1186903,6 +1190333,7 @@ components: value: { } microsoft.graph.fileStorageContainerCustomPropertyValue: value: + isPatternToken: 'true' isSearchable: 'true' value: String microsoft.graph.fileStorageContainerSettings: @@ -1186914,6 +1190345,7 @@ components: value: isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -1186927,6 +1190359,7 @@ components: '@odata.type': microsoft.graph.fileStorageContainerTypeSettingsOverride isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -1188938,6 +1192371,10 @@ components: value: details: '@odata.type': microsoft.graph.detailsInfo + microsoft.graph.provisionResponse: + value: + challenge: String + deviceId: String microsoft.graph.proxiedDomain: value: ipAddressOrFQDN: String @@ -1189090,6 +1192527,11 @@ components: mobilePhone: String relationship: '@odata.type': microsoft.graph.contactRelationship + microsoft.graph.relatedTenantsRefreshStatus: + value: + isFirstRefresh: 'true' + mostRecentRefreshDateTime: '0001-01-01T00:00:00.0000000+00:00' + mostRecentRefreshRequestStatus: String microsoft.graph.relationshipPolicy: value: delegatedAdministrationRoleAssignments: @@ -1192468,16 +1195910,19 @@ components: value: administrativeUnitIdFilters: - String + approximateReturnedRecordCount: '0' displayName: String filterEndDateTime: '0001-01-01T00:00:00.0000000+00:00' filterStartDateTime: '0001-01-01T00:00:00.0000000+00:00' ipAddressFilters: - String + isRecordCountLimitExceeded: 'true' keywordFilter: String objectIdFilters: - String operationFilters: - String + recordCountLimit: '0' records: - '@odata.type': microsoft.graph.security.auditLogRecord recordTypeFilters: diff --git a/openapi/v1.0/openapi.yaml b/openapi/v1.0/openapi.yaml index 942707dd..f14cfeec 100644 --- a/openapi/v1.0/openapi.yaml +++ b/openapi/v1.0/openapi.yaml @@ -92278,6 +92278,39 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + /devices/provision: + description: Provides operations to call the provision method. + post: + tags: + - devices.device.Actions + summary: Invoke action provision + description: Provision a device on behalf of an approved Virtual Desktop Infrastructure (VDI) provider. This action wraps the Zero Touch Deployment (ZTD) protocol to create a device in a pending state in the customer's directory. The device can't be used for authentication until it completes its registration. The created device is stamped with a system label that identifies the approved VDI provider. Only VDI applications on Microsoft's approved list of VDI providers can successfully call this action. Calls from other applications are blocked even when the application is granted the required permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/device-provision?view=graph-rest-1.0 + operationId: devices.provision + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + provisioningBlob: + type: string + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.provisionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action /devices/validateProperties: description: Provides operations to call the validateProperties method. post: @@ -100114,6 +100147,28 @@ paths: 5XX: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /directory/tenantGovernance/relatedTenants/refreshStatus(): + description: Provides operations to call the refreshStatus method. + get: + tags: + - directory.tenantGovernance + summary: Invoke function refreshStatus + operationId: directory.tenantGovernance.relatedTenants.refreshStatus + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.relatedTenantsRefreshStatus' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function /directory/tenantGovernance/settings: description: Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. get: @@ -109435,6 +109490,69 @@ paths: x-ms-docs-grouped-path: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' - '/drives/{drive-id}/list/permissions/{permission-id}/grant' + '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -230363,6 +230481,69 @@ paths: x-ms-docs-grouped-path: - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/grant' - '/drives/{drive-id}/list/permissions/{permission-id}/grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/revokeGrants' '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -231650,6 +231831,62 @@ paths: x-ms-docs-grouped-path: - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/grant' - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' + '/drives/{drive-id}/list/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants' '/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -286608,6 +286845,83 @@ paths: x-ms-docs-grouped-path: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/revokeGrants' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -288142,6 +288456,76 @@ paths: x-ms-docs-grouped-path: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/revokeGrants' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -302930,6 +303314,69 @@ paths: x-ms-docs-grouped-path: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' + '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/revokeGrants' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -488156,7 +488603,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: List roleManagementCustomCalloutExtensions + description: Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-list-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.ListCustomExtensions parameters: - $ref: '#/components/parameters/top' @@ -488208,7 +488659,11 @@ paths: post: tags: - identityGovernance.privilegedAccessRoot - summary: Create new navigation property to customExtensions for identityGovernance + summary: Create roleManagementCustomCalloutExtension + description: Create a new roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-post-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.CreateCustomExtensions requestBody: description: New navigation property @@ -488234,7 +488689,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: Get roleManagementCustomCalloutExtension + description: Retrieve the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-get?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.GetCustomExtensions parameters: - name: $select @@ -488272,7 +488731,11 @@ paths: patch: tags: - identityGovernance.privilegedAccessRoot - summary: Update the navigation property customExtensions in identityGovernance + summary: Update roleManagementCustomCalloutExtension + description: Update the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-update?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.UpdateCustomExtensions requestBody: description: New navigation property values @@ -488296,7 +488759,11 @@ paths: delete: tags: - identityGovernance.privilegedAccessRoot - summary: Delete navigation property customExtensions for identityGovernance + summary: Delete roleManagementCustomCalloutExtension + description: Delete a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-delete?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.DeleteCustomExtensions parameters: - name: If-Match @@ -489866,6 +490333,10 @@ paths: tags: - identityGovernance.privilegedAccessRoot summary: Invoke action updateRequest + description: Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.group.assignmentScheduleRequests.privilegedAccessGroupAssignmentScheduleRequest.updateRequest requestBody: description: Action parameters @@ -500885,17 +501356,14 @@ paths: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - /me/authentication/softwareOathMethods: - description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. + /me/authentication/resourceAccountKeyAuthenticationMethods: + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: List softwareOathMethods - description: Retrieve a list of a user's software OATH token authentication method objects and their properties. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/authentication-list-softwareoathmethods?view=graph-rest-1.0 - operationId: me.authentication.ListSoftwareOathMethods + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.ListResourceAccountKeyAuthenticationMethods parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -500934,7 +501402,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.softwareOathAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: @@ -500943,17 +501411,14 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation - '/me/authentication/softwareOathMethods/{softwareOathAuthenticationMethod-id}': - description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: Get softwareOathAuthenticationMethod - description: Retrieve a user's single Software OATH token authentication method object and its properties. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-get?view=graph-rest-1.0 - operationId: me.authentication.GetSoftwareOathMethods + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.GetResourceAccountKeyAuthenticationMethods parameters: - name: $select in: query @@ -500981,7 +501446,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.softwareOathAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' 4XX: $ref: '#/components/responses/error' 5XX: @@ -500990,8 +501455,8 @@ paths: delete: tags: - me.authentication - summary: Delete navigation property softwareOathMethods for me - operationId: me.authentication.DeleteSoftwareOathMethods + summary: Delete navigation property resourceAccountKeyAuthenticationMethods for me + operationId: me.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - name: If-Match in: header @@ -501007,20 +501472,69 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - - name: softwareOathAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of softwareOathAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: softwareOathAuthenticationMethod - /me/authentication/softwareOathMethods/$count: + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. + get: + tags: + - me.authentication + summary: Get device from me + description: The registered device on which this resource account key resides. Supports $expand. + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetDevice + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.device' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: resourceAccountKeyAuthenticationMethod-id + in: path + description: The unique identifier of resourceAccountKeyAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + /me/authentication/resourceAccountKeyAuthenticationMethods/$count: description: Provides operations to count the resources in the collection. get: tags: - me.authentication summary: Get the number of the resource - operationId: me.authentication.softwareOathMethods.GetCount-b651 + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetCount-5587 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -501031,14 +501545,17 @@ paths: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - /me/authentication/temporaryAccessPassMethods: - description: Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. + /me/authentication/softwareOathMethods: + description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: Get temporaryAccessPassMethods from me - description: Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - operationId: me.authentication.ListTemporaryAccessPassMethods + summary: List softwareOathMethods + description: Retrieve a list of a user's software OATH token authentication method objects and their properties. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/authentication-list-softwareoathmethods?view=graph-rest-1.0 + operationId: me.authentication.ListSoftwareOathMethods parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -501077,7 +501594,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.temporaryAccessPassAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.softwareOathAuthenticationMethodCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: @@ -501086,38 +501603,17 @@ paths: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation - post: - tags: - - me.authentication - summary: Create new navigation property to temporaryAccessPassMethods for me - operationId: me.authentication.CreateTemporaryAccessPassMethods - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' - required: true - responses: - 2XX: - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/me/authentication/temporaryAccessPassMethods/{temporaryAccessPassAuthenticationMethod-id}': - description: Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. + '/me/authentication/softwareOathMethods/{softwareOathAuthenticationMethod-id}': + description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: Get temporaryAccessPassMethods from me - description: Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. - operationId: me.authentication.GetTemporaryAccessPassMethods + summary: Get softwareOathAuthenticationMethod + description: Retrieve a user's single Software OATH token authentication method object and its properties. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-get?view=graph-rest-1.0 + operationId: me.authentication.GetSoftwareOathMethods parameters: - name: $select in: query @@ -501145,7 +501641,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.softwareOathAuthenticationMethod' 4XX: $ref: '#/components/responses/error' 5XX: @@ -501154,8 +501650,8 @@ paths: delete: tags: - me.authentication - summary: Delete navigation property temporaryAccessPassMethods for me - operationId: me.authentication.DeleteTemporaryAccessPassMethods + summary: Delete navigation property softwareOathMethods for me + operationId: me.authentication.DeleteSoftwareOathMethods parameters: - name: If-Match in: header @@ -501171,20 +501667,20 @@ paths: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation parameters: - - name: temporaryAccessPassAuthenticationMethod-id + - name: softwareOathAuthenticationMethod-id in: path - description: The unique identifier of temporaryAccessPassAuthenticationMethod + description: The unique identifier of softwareOathAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: temporaryAccessPassAuthenticationMethod - /me/authentication/temporaryAccessPassMethods/$count: + x-ms-docs-key-type: softwareOathAuthenticationMethod + /me/authentication/softwareOathMethods/$count: description: Provides operations to count the resources in the collection. get: tags: - me.authentication summary: Get the number of the resource - operationId: me.authentication.temporaryAccessPassMethods.GetCount-cd4f + operationId: me.authentication.softwareOathMethods.GetCount-b651 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -501195,14 +501691,178 @@ paths: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - /me/authentication/windowsHelloForBusinessMethods: - description: Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. + /me/authentication/temporaryAccessPassMethods: + description: Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: Get windowsHelloForBusinessMethods from me - description: Represents the Windows Hello for Business authentication method registered to a user for authentication. - operationId: me.authentication.ListWindowsHelloForBusinessMethods + summary: Get temporaryAccessPassMethods from me + description: Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. + operationId: me.authentication.ListTemporaryAccessPassMethods + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.temporaryAccessPassAuthenticationMethodCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.authentication + summary: Create new navigation property to temporaryAccessPassMethods for me + operationId: me.authentication.CreateTemporaryAccessPassMethods + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/authentication/temporaryAccessPassMethods/{temporaryAccessPassAuthenticationMethod-id}': + description: Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get temporaryAccessPassMethods from me + description: Represents a Temporary Access Pass registered to a user for authentication through time-limited passcodes. + operationId: me.authentication.GetTemporaryAccessPassMethods + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.authentication + summary: Delete navigation property temporaryAccessPassMethods for me + operationId: me.authentication.DeleteTemporaryAccessPassMethods + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: temporaryAccessPassAuthenticationMethod-id + in: path + description: The unique identifier of temporaryAccessPassAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: temporaryAccessPassAuthenticationMethod + /me/authentication/temporaryAccessPassMethods/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - me.authentication + summary: Get the number of the resource + operationId: me.authentication.temporaryAccessPassMethods.GetCount-cd4f + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + /me/authentication/windowsHelloForBusinessMethods: + description: Provides operations to manage the windowsHelloForBusinessMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get windowsHelloForBusinessMethods from me + description: Represents the Windows Hello for Business authentication method registered to a user for authentication. + operationId: me.authentication.ListWindowsHelloForBusinessMethods parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -541041,7 +541701,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -543024,7 +543684,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -604532,6 +605192,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.directory.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest requestBody: description: Action parameters @@ -605557,7 +606221,7 @@ paths: tags: - roleManagement.rbacApplication summary: Delete unifiedRoleDefinition - description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. + description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. Deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -609239,6 +609903,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.entitlementManagement.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest requestBody: description: Action parameters @@ -651426,6 +652094,69 @@ paths: x-ms-docs-grouped-path: - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant' - '/shares/{sharedDriveItem-id}/permission/grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/revokeGrants' '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -652679,6 +653410,62 @@ paths: x-ms-docs-grouped-path: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' - '/shares/{sharedDriveItem-id}/permission/grant' + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/revokeGrants' '/shares/{sharedDriveItem-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -653188,6 +653975,55 @@ paths: x-ms-docs-grouped-path: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/grant' + '/shares/{sharedDriveItem-id}/permission/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/revokeGrants' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -661638,204 +662474,28 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' - '/sites/{site-id}/permissions/{permission-id}/grant' - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: - tags: - - sites.list - summary: Get the number of the resource - operationId: sites.lists.items.permissions.GetCount-68c2 - parameters: - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - 2XX: - $ref: '#/components/responses/ODataCountResponse' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - parameters: - - name: site-id - in: path - description: The unique identifier of site - required: true - schema: - type: string - x-ms-docs-key-type: site - - name: list-id - in: path - description: The unique identifier of list - required: true - schema: - type: string - x-ms-docs-key-type: list - - name: listItem-id - in: path - description: The unique identifier of listItem - required: true - schema: - type: string - x-ms-docs-key-type: listItem - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. - get: - tags: - - sites.list - summary: Listing versions of a ListItem - description: SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0 - operationId: sites.lists.items.ListVersions - parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - responses: - 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - sites.list - summary: Create new navigation property to versions for sites - operationId: sites.lists.items.CreateVersions - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - required: true - responses: - 2XX: - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - parameters: - - name: site-id - in: path - description: The unique identifier of site - required: true - schema: - type: string - x-ms-docs-key-type: site - - name: list-id - in: path - description: The unique identifier of list - required: true - schema: - type: string - x-ms-docs-key-type: list - - name: listItem-id - in: path - description: The unique identifier of listItem - required: true - schema: - type: string - x-ms-docs-key-type: listItem - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. - get: - tags: - - sites.list - summary: Get a ListItemVersion resource - description: Retrieve the metadata for a specific version of a ListItem. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0 - operationId: sites.lists.items.GetVersions - parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - responses: - 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - sites.list - summary: Update the navigation property versions in sites - operationId: sites.lists.items.UpdateVersions + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.revokeGrants requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -661843,31 +662503,277 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - sites.list - summary: Delete navigation property versions for sites - operationId: sites.lists.items.DeleteVersions - parameters: - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/revokeGrants' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - sites.list + summary: Get the number of the resource + operationId: sites.lists.items.permissions.GetCount-68c2 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Listing versions of a ListItem + description: SharePoint can be configured to retain the history for list items. Previous versions may be retained for a finite period of time depending on admin settings which may be unique per user or location. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitem-list-versions?view=graph-rest-1.0 + operationId: sites.lists.items.ListVersions + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - sites.list + summary: Create new navigation property to versions for sites + operationId: sites.lists.items.CreateVersions + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - sites.list + summary: Get a ListItemVersion resource + description: Retrieve the metadata for a specific version of a ListItem. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/listitemversion-get?view=graph-rest-1.0 + operationId: sites.lists.items.GetVersions + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - sites.list + summary: Update the navigation property versions in sites + operationId: sites.lists.items.UpdateVersions + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - sites.list + summary: Delete navigation property versions for sites + operationId: sites.lists.items.DeleteVersions + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation parameters: - name: site-id in: path @@ -663035,6 +663941,69 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' - '/sites/{site-id}/permissions/{permission-id}/grant' + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/revokeGrants' '/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -676202,6 +677171,62 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/grant' - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/grant' + '/sites/{site-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/revokeGrants' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/revokeGrants' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -726661,83 +727686,28 @@ paths: x-ms-docs-key-type: permission x-ms-docs-grouped-path: - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/grant' - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: - tags: - - storage.fileStorage - summary: Get the number of the resource - operationId: storage.fileStorage.containers.permissions.GetCount-b191 - parameters: - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - 2XX: - $ref: '#/components/responses/ODataCountResponse' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - parameters: - - name: fileStorageContainer-id - in: path - description: The unique identifier of fileStorageContainer - required: true - schema: - type: string - x-ms-docs-key-type: fileStorageContainer - '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin': - description: Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. - get: - tags: - - storage.fileStorage - summary: Get recycleBin from storage - description: Recycle bin of the fileStorageContainer. Read-only. - operationId: storage.fileStorage.containers.GetRecycleBin - parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - responses: - 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.recycleBin' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: + '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - storage.fileStorage - summary: Update the navigation property recycleBin in storage - operationId: storage.fileStorage.containers.UpdateRecycleBin + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.containers.fileStorageContainer.permissions.permission.revokeGrants requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.recycleBin' + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -726745,31 +727715,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.recycleBin' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - storage.fileStorage - summary: Delete navigation property recycleBin for storage - operationId: storage.fileStorage.containers.DeleteRecycleBin - parameters: - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action parameters: - name: fileStorageContainer-id in: path @@ -726778,49 +727732,32 @@ paths: schema: type: string x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission x-ms-docs-grouped-path: - - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin' - '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/createdByUser': - description: Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants' + '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - storage.fileStorage - summary: Get createdByUser from storage - description: Identity of the user who created the item. Read-only. - operationId: storage.fileStorage.containers.recycleBin.GetCreatedByUser + summary: Get the number of the resource + operationId: storage.fileStorage.containers.permissions.GetCount-b191 parameters: - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.user' + $ref: '#/components/responses/ODataCountResponse' 4XX: $ref: '#/components/responses/error' 5XX: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation parameters: - name: fileStorageContainer-id in: path @@ -726829,17 +727766,160 @@ paths: schema: type: string x-ms-docs-key-type: fileStorageContainer - x-ms-docs-grouped-path: - - '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser' - - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/createdByUser' - - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser' - '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/createdByUser/mailboxSettings': + '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin': + description: Provides operations to manage the recycleBin property of the microsoft.graph.fileStorageContainer entity. get: tags: - storage.fileStorage - summary: Get mailboxSettings property value - description: 'Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Requires $select to retrieve.' - operationId: storage.fileStorage.containers.recycleBin.createdByUser.GetMailboxSettings + summary: Get recycleBin from storage + description: Recycle bin of the fileStorageContainer. Read-only. + operationId: storage.fileStorage.containers.GetRecycleBin + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.recycleBin' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - storage.fileStorage + summary: Update the navigation property recycleBin in storage + operationId: storage.fileStorage.containers.UpdateRecycleBin + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.recycleBin' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.recycleBin' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - storage.fileStorage + summary: Delete navigation property recycleBin for storage + operationId: storage.fileStorage.containers.DeleteRecycleBin + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + x-ms-docs-grouped-path: + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin' + '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/createdByUser': + description: Provides operations to manage the createdByUser property of the microsoft.graph.baseItem entity. + get: + tags: + - storage.fileStorage + summary: Get createdByUser from storage + description: Identity of the user who created the item. Read-only. + operationId: storage.fileStorage.containers.recycleBin.GetCreatedByUser + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.user' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + x-ms-docs-grouped-path: + - '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser' + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/createdByUser' + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/recycleBin/items/{recycleBinItem-id}/createdByUser' + '/storage/fileStorage/containers/{fileStorageContainer-id}/recycleBin/createdByUser/mailboxSettings': + get: + tags: + - storage.fileStorage + summary: Get mailboxSettings property value + description: 'Settings for the primary mailbox of the signed-in user. You can get or update settings for sending automatic replies to incoming messages, locale, and time zone. Requires $select to retrieve.' + operationId: storage.fileStorage.containers.recycleBin.createdByUser.GetMailboxSettings parameters: - name: $select in: query @@ -730373,6 +731453,61 @@ paths: x-ms-docs-key-type: permission x-ms-docs-grouped-path: - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/grant' + '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.deletedContainers.fileStorageContainer.permissions.permission.revokeGrants + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + x-ms-docs-grouped-path: + - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/revokeGrants' '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -758728,14 +759863,17 @@ paths: schema: type: string x-ms-docs-key-type: user - '/users/{user-id}/authentication/softwareOathMethods': - description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - users.authentication - summary: Get softwareOathMethods from users - description: The software OATH time-based one-time password (TOTP) applications registered to a user for authentication. - operationId: users.authentication.ListSoftwareOathMethods + summary: List resourceAccountKeyAuthenticationMethods + description: Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/authentication-list-resourceaccountkeyauthenticationmethods?view=graph-rest-1.0 + operationId: users.authentication.ListResourceAccountKeyAuthenticationMethods parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -758774,7 +759912,7 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.softwareOathAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' 4XX: $ref: '#/components/responses/error' 5XX: @@ -758791,14 +759929,17 @@ paths: schema: type: string x-ms-docs-key-type: user - '/users/{user-id}/authentication/softwareOathMethods/{softwareOathAuthenticationMethod-id}': - description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - users.authentication - summary: Get softwareOathMethods from users - description: The software OATH time-based one-time password (TOTP) applications registered to a user for authentication. - operationId: users.authentication.GetSoftwareOathMethods + summary: Get resourceAccountKeyAuthenticationMethod + description: Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-get?view=graph-rest-1.0 + operationId: users.authentication.GetResourceAccountKeyAuthenticationMethods parameters: - name: $select in: query @@ -758826,7 +759967,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.softwareOathAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' 4XX: $ref: '#/components/responses/error' 5XX: @@ -758835,12 +759976,12 @@ paths: delete: tags: - users.authentication - summary: Delete softwareOathAuthenticationMethod - description: Delete a user's Software OATH token authentication method object. + summary: Delete resourceAccountKeyAuthenticationMethod + description: Delete a resourceAccountKeyAuthenticationMethod object. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-delete?view=graph-rest-1.0 - operationId: users.authentication.DeleteSoftwareOathMethods + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - name: If-Match in: header @@ -758863,65 +760004,288 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: softwareOathAuthenticationMethod-id - in: path - description: The unique identifier of softwareOathAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: softwareOathAuthenticationMethod - '/users/{user-id}/authentication/softwareOathMethods/$count': - description: Provides operations to count the resources in the collection. - get: - tags: - - users.authentication - summary: Get the number of the resource - operationId: users.authentication.softwareOathMethods.GetCount-0ccd - parameters: - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - 2XX: - $ref: '#/components/responses/ODataCountResponse' - 4XX: - $ref: '#/components/responses/error' - 5XX: - $ref: '#/components/responses/error' - parameters: - - name: user-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of user + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: user - '/users/{user-id}/authentication/temporaryAccessPassMethods': - description: Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. get: tags: - users.authentication - summary: List temporaryAccessPassMethods - description: Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/authentication-list-temporaryaccesspassmethods?view=graph-rest-1.0 - operationId: users.authentication.ListTemporaryAccessPassMethods + summary: Get device from users + description: The registered device on which this resource account key resides. Supports $expand. + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetDevice parameters: - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.device' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: resourceAccountKeyAuthenticationMethod-id + in: path + description: The unique identifier of resourceAccountKeyAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.authentication + summary: Get the number of the resource + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetCount-f526 + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + '/users/{user-id}/authentication/softwareOathMethods': + description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get softwareOathMethods from users + description: The software OATH time-based one-time password (TOTP) applications registered to a user for authentication. + operationId: users.authentication.ListSoftwareOathMethods + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.softwareOathAuthenticationMethodCollectionResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + '/users/{user-id}/authentication/softwareOathMethods/{softwareOathAuthenticationMethod-id}': + description: Provides operations to manage the softwareOathMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get softwareOathMethods from users + description: The software OATH time-based one-time password (TOTP) applications registered to a user for authentication. + operationId: users.authentication.GetSoftwareOathMethods + parameters: + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.softwareOathAuthenticationMethod' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.authentication + summary: Delete softwareOathAuthenticationMethod + description: Delete a user's Software OATH token authentication method object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/softwareoathauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeleteSoftwareOathMethods + parameters: + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: softwareOathAuthenticationMethod-id + in: path + description: The unique identifier of softwareOathAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: softwareOathAuthenticationMethod + '/users/{user-id}/authentication/softwareOathMethods/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.authentication + summary: Get the number of the resource + operationId: users.authentication.softwareOathMethods.GetCount-0ccd + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + 4XX: + $ref: '#/components/responses/error' + 5XX: + $ref: '#/components/responses/error' + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + '/users/{user-id}/authentication/temporaryAccessPassMethods': + description: Provides operations to manage the temporaryAccessPassMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: List temporaryAccessPassMethods + description: Retrieve a list of a user's temporaryAccessPassAuthenticationMethod objects and their properties. This API will only return a single object in the collection as a user can have only one Temporary Access Pass method. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/authentication-list-temporaryaccesspassmethods?view=graph-rest-1.0 + operationId: users.authentication.ListTemporaryAccessPassMethods + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string - name: $select in: query description: Select properties to be returned @@ -803057,7 +804421,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -805222,7 +806586,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -838077,6 +839441,42 @@ components: default: '#microsoft.graph.androidWorkProfileGeneralDeviceConfiguration' description: Android Work Profile general device configuration. x-ms-discriminator-value: '#microsoft.graph.androidWorkProfileGeneralDeviceConfiguration' + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyDetail + required: + - '@odata.type' + type: object + properties: + '@odata.type': + type: string + default: '#microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + x-ms-discriminator-value: '#microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyReviewer + required: + - '@odata.type' + type: object + properties: + '@odata.type': + type: string + default: '#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + x-ms-discriminator-value: '#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusySimple + required: + - '@odata.type' + type: object + properties: + '@odata.type': + type: string + default: '#microsoft.graph.anonymousCalendarSharingFreeBusySimple' + x-ms-discriminator-value: '#microsoft.graph.anonymousCalendarSharingFreeBusySimple' microsoft.graph.anonymousGuestConversationMember: allOf: - $ref: '#/components/schemas/microsoft.graph.conversationMember' @@ -839280,6 +840680,12 @@ components: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' description: Represents a platform credential instance registered to a user on Mac OS. x-ms-navigationProperty: true + resourceAccountKeyAuthenticationMethods: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + x-ms-navigationProperty: true softwareOathMethods: type: array items: @@ -839472,6 +840878,7 @@ components: '#microsoft.graph.phoneAuthenticationMethod': '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' '#microsoft.graph.platformCredentialAuthenticationMethod': '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' '#microsoft.graph.qrCodePinAuthenticationMethod': '#/components/schemas/microsoft.graph.qrCodePinAuthenticationMethod' + '#microsoft.graph.resourceAccountKeyAuthenticationMethod': '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' '#microsoft.graph.softwareOathAuthenticationMethod': '#/components/schemas/microsoft.graph.softwareOathAuthenticationMethod' '#microsoft.graph.temporaryAccessPassAuthenticationMethod': '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' '#microsoft.graph.windowsHelloForBusinessAuthenticationMethod': '#/components/schemas/microsoft.graph.windowsHelloForBusinessAuthenticationMethod' @@ -851581,6 +852988,7 @@ components: '#microsoft.graph.phoneAuthenticationMethod': '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' '#microsoft.graph.platformCredentialAuthenticationMethod': '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' '#microsoft.graph.qrCodePinAuthenticationMethod': '#/components/schemas/microsoft.graph.qrCodePinAuthenticationMethod' + '#microsoft.graph.resourceAccountKeyAuthenticationMethod': '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' '#microsoft.graph.softwareOathAuthenticationMethod': '#/components/schemas/microsoft.graph.softwareOathAuthenticationMethod' '#microsoft.graph.temporaryAccessPassAuthenticationMethod': '#/components/schemas/microsoft.graph.temporaryAccessPassAuthenticationMethod' '#microsoft.graph.windowsHelloForBusinessAuthenticationMethod': '#/components/schemas/microsoft.graph.windowsHelloForBusinessAuthenticationMethod' @@ -852037,6 +853445,9 @@ components: '#microsoft.graph.richLongRunningOperation': '#/components/schemas/microsoft.graph.richLongRunningOperation' '#microsoft.graph.m365AppsInstallationOptions': '#/components/schemas/microsoft.graph.m365AppsInstallationOptions' '#microsoft.graph.m365CapabilityBase': '#/components/schemas/microsoft.graph.m365CapabilityBase' + '#microsoft.graph.anonymousCalendarSharingFreeBusyDetail': '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + '#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer': '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + '#microsoft.graph.anonymousCalendarSharingFreeBusySimple': '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimple' '#microsoft.graph.crossTenantCalendarAvailabilityBasic': '#/components/schemas/microsoft.graph.crossTenantCalendarAvailabilityBasic' '#microsoft.graph.crossTenantCalendarAvailabilityLimitedDetails': '#/components/schemas/microsoft.graph.crossTenantCalendarAvailabilityLimitedDetails' '#microsoft.graph.crossTenantCalendarSharingFreeBusyDetail': '#/components/schemas/microsoft.graph.crossTenantCalendarSharingFreeBusyDetail' @@ -854241,7 +855652,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLabel' - description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups.' + description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling.' assignedLicenses: type: array items: @@ -857518,6 +858929,9 @@ components: discriminator: propertyName: '@odata.type' mapping: + '#microsoft.graph.anonymousCalendarSharingFreeBusyDetail': '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + '#microsoft.graph.anonymousCalendarSharingFreeBusyReviewer': '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + '#microsoft.graph.anonymousCalendarSharingFreeBusySimple': '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimple' '#microsoft.graph.crossTenantCalendarAvailabilityBasic': '#/components/schemas/microsoft.graph.crossTenantCalendarAvailabilityBasic' '#microsoft.graph.crossTenantCalendarAvailabilityLimitedDetails': '#/components/schemas/microsoft.graph.crossTenantCalendarAvailabilityLimitedDetails' '#microsoft.graph.crossTenantCalendarSharingFreeBusyDetail': '#/components/schemas/microsoft.graph.crossTenantCalendarSharingFreeBusyDetail' @@ -864194,11 +865608,11 @@ components: properties: activity: type: string - description: 'The supplemental information to a user''s availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown.' + description: 'The supplemental information to a user''s availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown.' nullable: true availability: type: string - description: 'The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown.' + description: 'The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown.' nullable: true outOfOfficeSettings: anyOf: @@ -865187,6 +866601,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.roleManagementCustomCalloutExtension' + description: The custom extensions configured for PIM role management operations. x-ms-navigationProperty: true group: anyOf: @@ -866639,6 +868054,29 @@ components: '@odata.type': type: string x-ms-discriminator-value: '#microsoft.graph.resellerDelegatedAdminRelationship' + microsoft.graph.resourceAccountKeyAuthenticationMethod: + allOf: + - $ref: '#/components/schemas/microsoft.graph.authenticationMethod' + - title: resourceAccountKeyAuthenticationMethod + required: + - '@odata.type' + type: object + properties: + displayName: + type: string + description: The display name of the resource account key credential as shown in the Teams Room interface. + nullable: true + device: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.device' + - type: object + nullable: true + description: The registered device on which this resource account key resides. Supports $expand. + x-ms-navigationProperty: true + '@odata.type': + type: string + default: '#microsoft.graph.resourceAccountKeyAuthenticationMethod' + x-ms-discriminator-value: '#microsoft.graph.resourceAccountKeyAuthenticationMethod' microsoft.graph.resourceOperation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -867380,6 +868818,7 @@ components: items: type: string nullable: true + description: The custom attribute names to include in the callout payload. resourceType: $ref: '#/components/schemas/microsoft.graph.customExtensionResourceType' type: @@ -873929,14 +875368,18 @@ components: type: array items: type: string + description: The custom attributes associated with the policy rule. Read-only. customExtensionId: type: string + description: The unique identifier of the roleManagementCustomCalloutExtension associated with this rule. nullable: true displayName: type: string + description: The display name of the policy rule. Read-only. nullable: true isEnabled: type: boolean + description: Indicates whether the custom extension rule is enabled. nullable: true '@odata.type': type: string @@ -890017,14 +891460,14 @@ components: maximum: 2147483647 minimum: -2147483648 type: number - description: 'The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies.' + description: 'The max number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies.' format: int32 nullable: true timeoutInMilliseconds: maximum: 2147483647 minimum: -2147483648 type: number - description: The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + description: 'The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds and the default is 1000 milliseconds.' format: int32 nullable: true '@odata.type': @@ -893304,6 +894747,10 @@ components: - '@odata.type' type: object properties: + isPatternToken: + type: boolean + description: 'Indicates whether value is a urlTemplate pattern (for example, a token such as {itemId} used to configure redirect behavior when opening files), rather than a literal value that consumers must resolve before use. Optional. The default value is false.' + nullable: true isSearchable: type: boolean description: Indicates whether the custom property is searchable. Optional. The default value is false. @@ -893350,6 +894797,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -893400,6 +894850,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -893878,7 +895331,7 @@ components: properties: targetUrl: type: string - description: The HTTP endpoint that a custom extension calls. + description: The URL of the HTTP endpoint that Microsoft Entra ID calls for the custom extension. nullable: true '@odata.type': type: string @@ -901300,6 +902753,20 @@ components: type: string default: '#microsoft.graph.provisioningSystem' x-ms-discriminator-value: '#microsoft.graph.provisioningSystem' + microsoft.graph.provisionResponse: + title: provisionResponse + required: + - '@odata.type' + type: object + properties: + challenge: + type: string + description: The cryptographic challenge that the device uses to complete its registration with the directory. + deviceId: + type: string + description: The unique identifier of the provisioned device. + '@odata.type': + type: string microsoft.graph.proxiedDomain: title: proxiedDomain required: @@ -901893,6 +903360,23 @@ components: $ref: '#/components/schemas/microsoft.graph.contactRelationship' '@odata.type': type: string + microsoft.graph.relatedTenantsRefreshStatus: + title: relatedTenantsRefreshStatus + required: + - '@odata.type' + type: object + properties: + isFirstRefresh: + type: boolean + mostRecentRefreshDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + mostRecentRefreshRequestStatus: + type: string + '@odata.type': + type: string + description: Represents the status of the most recent Related Tenants refresh operation. microsoft.graph.relationshipPolicy: title: relationshipPolicy required: @@ -914536,6 +916020,7 @@ components: - itemMajorVersionLimit - maxStoragePerContainerInBytes - unknownFutureValue + - isOfficeRestricted type: string x-ms-enum-flags: isFlags: true @@ -919733,6 +921218,7 @@ components: - ios - android - mac + - linux - unknownFutureValue type: string x-ms-enum-flags: @@ -927671,6 +929157,12 @@ components: type: string nullable: true description: The collection of administrative unit IDs to filter on. + approximateReturnedRecordCount: + type: number + description: The approximate number of records retrieved by the query. This value can be higher or lower than recordCountLimit due to distributed counting. Read-only. + format: int64 + nullable: true + readOnly: true displayName: type: string description: The display name of the audit log query. @@ -927693,9 +929185,13 @@ components: type: string nullable: true description: The collection of IP addresses to filter on. + isRecordCountLimitExceeded: + type: boolean + description: Indicates whether the query exceeded the per-search record-count limit. The default value is false. A value of true is authoritative and isn't derived from approximateReturnedRecordCount. Read-only. + readOnly: true keywordFilter: type: string - description: The keyword to filter on. + description: 'Free text to match against the non-indexed content of each record: the workload-specific properties inside auditData, including its AppAccessContext object. The indexed common-schema properties, such as the operation name, aren''t matched by keyword; use their own filters, such as operationFilters, for those.' nullable: true objectIdFilters: type: array @@ -927709,6 +929205,12 @@ components: type: string nullable: true description: The collection of operations to filter on. + recordCountLimit: + type: number + description: The record-count threshold used to limit query result retrieval. Read-only. + format: int64 + nullable: true + readOnly: true recordTypeFilters: type: array items: @@ -943645,6 +945147,17 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + title: Collection of resourceAccountKeyAuthenticationMethod + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: title: Collection of softwareOathAuthenticationMethod type: object @@ -950542,6 +952055,39 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMember' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyDetail + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyReviewer + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusySimple + type: object + allOf: + - $ref: '#/components/schemas/BaseCollectionPaginationCountResponse' + - type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimple' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: title: Collection of crossTenantCalendarAvailabilityBasic type: object @@ -957001,6 +958547,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: description: Retrieved collection content: @@ -960763,6 +962315,24 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMemberCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: description: Retrieved collection content: @@ -964801,6 +966371,12 @@ components: '@odata.type': microsoft.graph.androidWorkProfileRequiredPasswordType workProfilePasswordSignInFailureCountBeforeFactoryReset: '0' workProfileRequirePassword: 'true' + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + value: { } microsoft.graph.anonymousGuestConversationMember: value: anonymousGuestId: String @@ -965110,6 +966686,8 @@ components: - '@odata.type': microsoft.graph.phoneAuthenticationMethod platformCredentialMethods: - '@odata.type': microsoft.graph.platformCredentialAuthenticationMethod + resourceAccountKeyAuthenticationMethods: + - '@odata.type': microsoft.graph.resourceAccountKeyAuthenticationMethod softwareOathMethods: - '@odata.type': microsoft.graph.softwareOathAuthenticationMethod temporaryAccessPassMethods: @@ -971864,6 +973442,11 @@ components: value: indirectProviderTenantId: String isPartnerConsentPending: 'true' + microsoft.graph.resourceAccountKeyAuthenticationMethod: + value: + device: + '@odata.type': microsoft.graph.device + displayName: String microsoft.graph.resourceOperation: value: actionName: String @@ -978696,6 +980279,7 @@ components: value: { } microsoft.graph.fileStorageContainerCustomPropertyValue: value: + isPatternToken: 'true' isSearchable: 'true' value: String microsoft.graph.fileStorageContainerSettings: @@ -978707,6 +980291,7 @@ components: value: isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -978720,6 +980305,7 @@ components: '@odata.type': microsoft.graph.fileStorageContainerTypeSettingsOverride isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -980729,6 +982315,10 @@ components: value: details: '@odata.type': microsoft.graph.detailsInfo + microsoft.graph.provisionResponse: + value: + challenge: String + deviceId: String microsoft.graph.proxiedDomain: value: ipAddressOrFQDN: String @@ -980881,6 +982471,11 @@ components: mobilePhone: String relationship: '@odata.type': microsoft.graph.contactRelationship + microsoft.graph.relatedTenantsRefreshStatus: + value: + isFirstRefresh: 'true' + mostRecentRefreshDateTime: '0001-01-01T00:00:00.0000000+00:00' + mostRecentRefreshRequestStatus: String microsoft.graph.relationshipPolicy: value: delegatedAdministrationRoleAssignments: @@ -984259,16 +985854,19 @@ components: value: administrativeUnitIdFilters: - String + approximateReturnedRecordCount: '0' displayName: String filterEndDateTime: '0001-01-01T00:00:00.0000000+00:00' filterStartDateTime: '0001-01-01T00:00:00.0000000+00:00' ipAddressFilters: - String + isRecordCountLimitExceeded: 'true' keywordFilter: String objectIdFilters: - String operationFilters: - String + recordCountLimit: '0' records: - '@odata.type': microsoft.graph.security.auditLogRecord recordTypeFilters: diff --git a/openapi/v1.0/powershell_v2.yaml b/openapi/v1.0/powershell_v2.yaml index 662515c0..5aba7170 100644 --- a/openapi/v1.0/powershell_v2.yaml +++ b/openapi/v1.0/powershell_v2.yaml @@ -96106,6 +96106,37 @@ paths: x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore + /devices/microsoft.graph.provision: + description: Provides operations to call the provision method. + post: + tags: + - devices.device.Actions + summary: Invoke action provision + description: Provision a device on behalf of an approved Virtual Desktop Infrastructure (VDI) provider. This action wraps the Zero Touch Deployment (ZTD) protocol to create a device in a pending state in the customer's directory. The device can't be used for authentication until it completes its registration. The created device is stamped with a system label that identifies the approved VDI provider. Only VDI applications on Microsoft's approved list of VDI providers can successfully call this action. Calls from other applications are blocked even when the application is granted the required permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/device-provision?view=graph-rest-1.0 + operationId: devices.provision + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + provisioningBlob: + type: string + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.provisionResponse' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action /devices/microsoft.graph.validateProperties: description: Provides operations to call the validateProperties method. post: @@ -103894,6 +103925,26 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action + /directory/tenantGovernance/relatedTenants/microsoft.graph.refreshStatus(): + description: Provides operations to call the refreshStatus method. + get: + tags: + - directory.tenantGovernance + summary: Invoke function refreshStatus + operationId: directory.tenantGovernance.relatedTenants.refreshStatus + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.relatedTenantsRefreshStatus' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: function /directory/tenantGovernance/settings: description: Provides operations to manage the settings property of the microsoft.graph.tenantGovernance entity. get: @@ -113150,6 +113201,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -114954,6 +115062,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -119855,6 +120020,63 @@ paths: - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drive/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -121038,6 +121260,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.list.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/list/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -124407,6 +124679,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/permissions/{permission-id}/microsoft.graph.grant' + '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/root/listItem/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -125935,6 +126257,56 @@ paths: - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drive/list/permissions/{permission-id}/microsoft.graph.grant' - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/drive/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drive.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drive.root.permissions.permission.revokeGrants + parameters: + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drive/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drive/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' /drive/root/permissions/$count: description: Provides operations to count the resources in the collection. get: @@ -132080,6 +132452,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -134143,6 +134579,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -139945,6 +140445,70 @@ paths: - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -141363,6 +141927,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -145421,6 +146042,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -147225,6 +147903,63 @@ paths: - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - drives.driveItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -183695,6 +184430,80 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -186089,50 +186898,17 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: - tags: - - groups.drive - summary: Get the number of the resource - operationId: groups.drives.items.permissions.GetCount-74d8 - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - 2XX: - $ref: '#/components/responses/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/retentionLabel': - description: Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. - get: + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.drive - summary: Get retentionLabel from groups - description: Information about retention label and settings enforced on the driveItem. Read-write. - operationId: groups.drives.items.GetRetentionLabel + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.items.driveItem.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -186155,69 +186931,24 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - responses: - 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - groups.drive - summary: Update the navigation property retentionLabel in groups - operationId: groups.drives.items.UpdateRetentionLabel - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id + - name: permission-id in: path - description: The unique identifier of driveItem + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: driveItem + x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -186225,15 +186956,29 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.drive - summary: Delete navigation property retentionLabel for groups - operationId: groups.drives.items.DeleteRetentionLabel + summary: Get the number of the resource + operationId: groups.drives.items.permissions.GetCount-74d8 parameters: - name: group-id in: path @@ -186256,27 +187001,21 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - name: If-Match - in: header - description: ETag - schema: - type: string + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: - '204': - description: Success + 2XX: + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/root/retentionLabel' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/subscriptions': - description: Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/retentionLabel': + description: Provides operations to manage the retentionLabel property of the microsoft.graph.driveItem entity. get: tags: - groups.drive - summary: Get subscriptions from groups - description: The set of subscriptions on the item. Only supported on the root of a drive. - operationId: groups.drives.items.ListSubscriptions + summary: Get retentionLabel from groups + description: Information about retention label and settings enforced on the driveItem. Read-write. + operationId: groups.drives.items.GetRetentionLabel parameters: - name: group-id in: path @@ -186299,21 +187038,6 @@ paths: schema: type: string x-ms-docs-key-type: driveItem - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - name: $select in: query description: Select properties to be returned @@ -186336,18 +187060,19 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.subscriptionCollectionResponse' + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-operation-type: operation - post: + patch: tags: - groups.drive - summary: Create new navigation property to subscriptions for groups - operationId: groups.drives.items.CreateSubscriptions + summary: Update the navigation property retentionLabel in groups + operationId: groups.drives.items.UpdateRetentionLabel parameters: - name: group-id in: path @@ -186371,32 +187096,190 @@ paths: type: string x-ms-docs-key-type: driveItem requestBody: - description: New navigation property + description: New navigation property values content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.subscription' + $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' required: true responses: 2XX: - description: Created navigation property. + description: Success content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.subscription' + $ref: '#/components/schemas/microsoft.graph.itemRetentionLabel' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/root/subscriptions' - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/subscriptions/{subscription-id}': - description: Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. - get: + delete: tags: - groups.drive - summary: Get subscriptions from groups - description: The set of subscriptions on the item. Only supported on the root of a drive. - operationId: groups.drives.items.GetSubscriptions + summary: Delete navigation property retentionLabel for groups + operationId: groups.drives.items.DeleteRetentionLabel + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/root/retentionLabel' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/subscriptions': + description: Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. + get: + tags: + - groups.drive + summary: Get subscriptions from groups + description: The set of subscriptions on the item. Only supported on the root of a drive. + operationId: groups.drives.items.ListSubscriptions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.subscriptionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to subscriptions for groups + operationId: groups.drives.items.CreateSubscriptions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.subscription' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.subscription' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/root/subscriptions' + '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/subscriptions/{subscription-id}': + description: Provides operations to manage the subscriptions property of the microsoft.graph.driveItem entity. + get: + tags: + - groups.drive + summary: Get subscriptions from groups + description: The set of subscriptions on the item. Only supported on the root of a drive. + operationId: groups.drives.items.GetSubscriptions parameters: - name: group-id in: path @@ -192889,13 +193772,17 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.drive - summary: Get the number of the resource - operationId: groups.drives.list.items.permissions.GetCount-d4e2 + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.items.listItem.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -192918,21 +193805,54 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: 2XX: - $ref: '#/components/responses/ODataCountResponse' + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.list.items.ListVersions + summary: Get the number of the resource + operationId: groups.drives.list.items.permissions.GetCount-d4e2 parameters: - name: group-id in: path @@ -192955,55 +193875,92 @@ paths: schema: type: string x-ms-docs-key-type: listItem - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-operation-type: operation - post: + '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.list.items.CreateVersions + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.list.items.ListVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to versions for groups + operationId: groups.drives.list.items.CreateVersions parameters: - name: group-id in: path @@ -194547,6 +195504,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -199341,13 +200365,17 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': - description: Provides operations to count the resources in the collection. - get: + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.drive - summary: Get the number of the resource - operationId: groups.drives.root.listItem.permissions.GetCount-6242 + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.listItem.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -199363,85 +200391,54 @@ paths: schema: type: string x-ms-docs-key-type: drive - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - responses: - 2XX: - $ref: '#/components/responses/ODataCountResponse' - default: - $ref: '#/components/responses/error' - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions': - description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. - get: - tags: - - groups.drive - summary: Get versions from groups - description: The list of previous versions of the list item. - operationId: groups.drives.root.listItem.ListVersions - parameters: - - name: group-id - in: path - description: The unique identifier of group - required: true - schema: - type: string - x-ms-docs-key-type: group - - name: drive-id + - name: permission-id in: path - description: The unique identifier of drive + description: The unique identifier of permission required: true schema: type: string - x-ms-docs-key-type: drive - - $ref: '#/components/parameters/top' - - $ref: '#/components/parameters/skip' - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' - - $ref: '#/components/parameters/count' - - name: $orderby - in: query - description: Order items by property values - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: 2XX: - $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore - x-ms-docs-operation-type: operation - post: + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/$count': + description: Provides operations to count the resources in the collection. + get: tags: - groups.drive - summary: Create new navigation property to versions for groups - operationId: groups.drives.root.listItem.CreateVersions + summary: Get the number of the resource + operationId: groups.drives.root.listItem.permissions.GetCount-6242 parameters: - name: group-id in: path @@ -199457,35 +200454,21 @@ paths: schema: type: string x-ms-docs-key-type: drive - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' - required: true + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' responses: 2XX: - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.listItemVersion' + $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - x-ms-docs-grouped-path: - - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' - - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' - - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' - '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': + '/groups/{group-id}/drives/{drive-id}/root/listItem/versions': description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. get: tags: - groups.drive summary: Get versions from groups description: The list of previous versions of the list item. - operationId: groups.drives.root.listItem.GetVersions + operationId: groups.drives.root.listItem.ListVersions parameters: - name: group-id in: path @@ -199501,13 +200484,121 @@ paths: schema: type: string x-ms-docs-key-type: drive - - name: listItemVersion-id - in: path - description: The unique identifier of listItemVersion - required: true + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false schema: - type: string - x-ms-docs-key-type: listItemVersion + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.listItemVersionCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - groups.drive + summary: Create new navigation property to versions for groups + operationId: groups.drives.root.listItem.CreateVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.listItemVersion' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/versions' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/versions' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/versions' + '/groups/{group-id}/drives/{drive-id}/root/listItem/versions/{listItemVersion-id}': + description: Provides operations to manage the versions property of the microsoft.graph.listItem entity. + get: + tags: + - groups.drive + summary: Get versions from groups + description: The list of previous versions of the list item. + operationId: groups.drives.root.listItem.GetVersions + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItemVersion-id + in: path + description: The unique identifier of listItemVersion + required: true + schema: + type: string + x-ms-docs-key-type: listItemVersion - name: $select in: query description: Select properties to be returned @@ -201476,6 +202567,73 @@ paths: - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -232323,6 +233481,87 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -234191,13 +235430,17 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': - description: Provides operations to count the resources in the collection. - get: + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: tags: - groups.site - summary: Get the number of the resource - operationId: groups.sites.lists.permissions.GetCount-dd2e + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.lists.list.permissions.permission.revokeGrants parameters: - name: group-id in: path @@ -234220,21 +235463,91 @@ paths: schema: type: string x-ms-docs-key-type: list - - $ref: '#/components/parameters/search' - - $ref: '#/components/parameters/filter' + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: 2XX: - $ref: '#/components/responses/ODataCountResponse' + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true default: $ref: '#/components/responses/error' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': - description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/$count': + description: Provides operations to count the resources in the collection. get: tags: - groups.site - summary: Get subscriptions from groups - description: The set of subscriptions on the list. - operationId: groups.sites.lists.ListSubscriptions + summary: Get the number of the resource + operationId: groups.sites.lists.permissions.GetCount-dd2e + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/groups/{group-id}/sites/{site-id}/lists/{list-id}/subscriptions': + description: Provides operations to manage the subscriptions property of the microsoft.graph.list entity. + get: + tags: + - groups.site + summary: Get subscriptions from groups + description: The set of subscriptions on the list. + operationId: groups.sites.lists.ListSubscriptions parameters: - name: group-id in: path @@ -251025,6 +252338,73 @@ paths: - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + '/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - groups.site + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: groups.group.sites.site.permissions.permission.revokeGrants + parameters: + - name: group-id + in: path + description: The unique identifier of group + required: true + schema: + type: string + x-ms-docs-key-type: group + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/groups/{group-id}/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/groups/{group-id}/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -453870,7 +455250,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: List roleManagementCustomCalloutExtensions + description: Get a list of roleManagementCustomCalloutExtension objects configured for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-list-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.ListCustomExtensions parameters: - $ref: '#/components/parameters/top' @@ -453920,7 +455304,11 @@ paths: post: tags: - identityGovernance.privilegedAccessRoot - summary: Create new navigation property to customExtensions for identityGovernance + summary: Create roleManagementCustomCalloutExtension + description: Create a new roleManagementCustomCalloutExtension object for Privileged Identity Management (PIM). + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessroot-post-customextensions?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.CreateCustomExtensions requestBody: description: New navigation property @@ -453944,7 +455332,11 @@ paths: get: tags: - identityGovernance.privilegedAccessRoot - summary: Get customExtensions from identityGovernance + summary: Get roleManagementCustomCalloutExtension + description: Retrieve the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-get?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.GetCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -453987,7 +455379,11 @@ paths: patch: tags: - identityGovernance.privilegedAccessRoot - summary: Update the navigation property customExtensions in identityGovernance + summary: Update roleManagementCustomCalloutExtension + description: Update the properties of a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-update?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.UpdateCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -454017,7 +455413,11 @@ paths: delete: tags: - identityGovernance.privilegedAccessRoot - summary: Delete navigation property customExtensions for identityGovernance + summary: Delete roleManagementCustomCalloutExtension + description: Delete a roleManagementCustomCalloutExtension object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/rolemanagementcustomcalloutextension-delete?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.DeleteCustomExtensions parameters: - name: roleManagementCustomCalloutExtension-id @@ -455571,6 +456971,10 @@ paths: tags: - identityGovernance.privilegedAccessRoot summary: Invoke action updateRequest + description: Update a privilegedAccessGroupAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/privilegedaccessgroupassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: identityGovernance.privilegedAccess.group.assignmentScheduleRequests.privilegedAccessGroupAssignmentScheduleRequest.updateRequest parameters: - name: privilegedAccessGroupAssignmentScheduleRequest-id @@ -466415,54 +467819,352 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.phoneAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.phoneAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + post: + tags: + - me.authentication + summary: Create new navigation property to phoneMethods for me + operationId: me.authentication.CreatePhoneMethods + requestBody: + description: New navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + required: true + responses: + 2XX: + description: Created navigation property. + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}': + description: Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get phoneAuthenticationMethod + description: 'Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-get?view=graph-rest-1.0 + operationId: me.authentication.GetPhoneMethods + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - me.authentication + summary: Update the navigation property phoneMethods in me + operationId: me.authentication.UpdatePhoneMethods + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - me.authentication + summary: Delete phoneAuthenticationMethod + description: 'Delete a user''s phone authentication method. This removes the phone number from the user and they''ll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can''t have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user''s default Azure multi-factor authentication (MFA) authentication method, it can''t be deleted. Have the user change their default authentication method, and then delete the number.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-delete?view=graph-rest-1.0 + operationId: me.authentication.DeletePhoneMethods + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': + description: Provides operations to call the disableSmsSignIn method. + post: + tags: + - me.authentication + summary: Invoke action disableSmsSignIn + description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 + operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': + description: Provides operations to call the enableSmsSignIn method. + post: + tags: + - me.authentication + summary: Invoke action enableSmsSignIn + description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 + operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn + parameters: + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + /me/authentication/phoneMethods/$count: + description: Provides operations to count the resources in the collection. + get: + tags: + - me.authentication + summary: Get the number of the resource + operationId: me.authentication.phoneMethods.GetCount-d96d + parameters: + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + /me/authentication/platformCredentialMethods: + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: List platformCredentialAuthenticationMethods + description: Get a list of the platformCredentialAuthenticationMethod objects and their properties. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-list?view=graph-rest-1.0 + operationId: me.authentication.ListPlatformCredentialMethods + parameters: + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - me.authentication + summary: Get platformCredentialAuthenticationMethod + description: Read the properties and relationships of a platformCredentialAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-get?view=graph-rest-1.0 + operationId: me.authentication.GetPlatformCredentialMethods + parameters: + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' default: $ref: '#/components/responses/error' - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-operation-type: operation - post: + delete: tags: - me.authentication - summary: Create new navigation property to phoneMethods for me - operationId: me.authentication.CreatePhoneMethods - requestBody: - description: New navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - required: true + summary: Delete navigation property platformCredentialMethods for me + operationId: me.authentication.DeletePlatformCredentialMethods + parameters: + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string responses: - 2XX: - description: Created navigation property. - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}': - description: Provides operations to manage the phoneMethods property of the microsoft.graph.authentication entity. + '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. get: tags: - me.authentication - summary: Get phoneAuthenticationMethod - description: 'Retrieve a single phoneAuthenticationMethod object for a user. This method is available only for standard Microsoft Entra ID and B2B users, but not B2C users.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-get?view=graph-rest-1.0 - operationId: me.authentication.GetPhoneMethods + summary: Get device from me + description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' + operationId: me.authentication.platformCredentialMethods.GetDevice parameters: - - name: phoneAuthenticationMethod-id + - name: platformCredentialAuthenticationMethod-id in: path - description: The unique identifier of phoneAuthenticationMethod + description: The unique identifier of platformCredentialAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: phoneAuthenticationMethod + x-ms-docs-key-type: platformCredentialAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -466489,125 +468191,17 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - patch: - tags: - - me.authentication - summary: Update the navigation property phoneMethods in me - operationId: me.authentication.UpdatePhoneMethods - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - required: true - responses: - 2XX: - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - me.authentication - summary: Delete phoneAuthenticationMethod - description: 'Delete a user''s phone authentication method. This removes the phone number from the user and they''ll no longer be able to use the number for authentication, whether via SMS or voice calls. A user can''t have an alternateMobile number without a mobile number. If you want to remove a mobile number from a user that also has an alternateMobile number, first update the mobile number to the new number, then delete the alternateMobile number. If the phone number is the user''s default Azure multi-factor authentication (MFA) authentication method, it can''t be deleted. Have the user change their default authentication method, and then delete the number.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-delete?view=graph-rest-1.0 - operationId: me.authentication.DeletePhoneMethods - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + $ref: '#/components/schemas/microsoft.graph.device' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': - description: Provides operations to call the disableSmsSignIn method. - post: - tags: - - me.authentication - summary: Invoke action disableSmsSignIn - description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 - operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/me/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': - description: Provides operations to call the enableSmsSignIn method. - post: - tags: - - me.authentication - summary: Invoke action enableSmsSignIn - description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 - operationId: me.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn - parameters: - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - /me/authentication/phoneMethods/$count: + /me/authentication/platformCredentialMethods/$count: description: Provides operations to count the resources in the collection. get: tags: - me.authentication summary: Get the number of the resource - operationId: me.authentication.phoneMethods.GetCount-d96d + operationId: me.authentication.platformCredentialMethods.GetCount-4808 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -466616,17 +468210,14 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - /me/authentication/platformCredentialMethods: - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + /me/authentication/resourceAccountKeyAuthenticationMethods: + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: List platformCredentialAuthenticationMethods - description: Get a list of the platformCredentialAuthenticationMethod objects and their properties. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-list?view=graph-rest-1.0 - operationId: me.authentication.ListPlatformCredentialMethods + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.ListResourceAccountKeyAuthenticationMethods parameters: - $ref: '#/components/parameters/top' - $ref: '#/components/parameters/skip' @@ -466665,32 +468256,29 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation - '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - me.authentication - summary: Get platformCredentialAuthenticationMethod - description: Read the properties and relationships of a platformCredentialAuthenticationMethod object. - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-get?view=graph-rest-1.0 - operationId: me.authentication.GetPlatformCredentialMethods + summary: Get resourceAccountKeyAuthenticationMethods from me + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + operationId: me.authentication.GetResourceAccountKeyAuthenticationMethods parameters: - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -466717,23 +468305,23 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - me.authentication - summary: Delete navigation property platformCredentialMethods for me - operationId: me.authentication.DeletePlatformCredentialMethods + summary: Delete navigation property resourceAccountKeyAuthenticationMethods for me + operationId: me.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: If-Match in: header description: ETag @@ -466745,22 +468333,22 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/me/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': - description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + '/me/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. get: tags: - me.authentication summary: Get device from me - description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' - operationId: me.authentication.platformCredentialMethods.GetDevice + description: The registered device on which this resource account key resides. Supports $expand. + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetDevice parameters: - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -466791,13 +468379,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - /me/authentication/platformCredentialMethods/$count: + /me/authentication/resourceAccountKeyAuthenticationMethods/$count: description: Provides operations to count the resources in the collection. get: tags: - me.authentication summary: Get the number of the resource - operationId: me.authentication.platformCredentialMethods.GetCount-4808 + operationId: me.authentication.resourceAccountKeyAuthenticationMethods.GetCount-5587 parameters: - $ref: '#/components/parameters/search' - $ref: '#/components/parameters/filter' @@ -492554,6 +494142,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -494727,6 +496379,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.items.driveItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -500520,6 +502236,70 @@ paths: - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -501988,6 +503768,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.list.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -506050,6 +507887,63 @@ paths: - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -507926,12 +509820,78 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/me/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - me.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: me.drives.drive.root.permissions.permission.revokeGrants + parameters: + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -507942,28 +509902,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' - '@odata.nextLink': - type: string + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/me/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/me/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/me/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -531282,7 +533233,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -533390,7 +535341,7 @@ paths: tags: - me.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -597075,6 +599026,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.directory.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest parameters: - name: unifiedRoleAssignmentScheduleRequest-id @@ -598075,7 +600030,7 @@ paths: tags: - roleManagement.rbacApplication summary: Delete unifiedRoleDefinition - description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. This feature requires a Microsoft Entra ID P1 or P2 license. + description: Delete a unifiedRoleDefinition object. You can't delete built-in roles. Deleting an active custom role definition soft-deletes it. You can then restore the role or permanently delete it from the deleted-items collection. This feature requires a Microsoft Entra ID P1 or P2 license. externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/unifiedroledefinition-delete?view=graph-rest-1.0 @@ -601726,6 +603681,10 @@ paths: tags: - roleManagement.rbacApplication summary: Invoke action updateRequest + description: Update a unifiedRoleAssignmentScheduleRequest object with the result of a custom extension evaluation. This action is used to submit the result of a custom extension evaluation for a role assignment request. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/unifiedroleassignmentschedulerequest-updaterequest?view=graph-rest-1.0 operationId: roleManagement.entitlementManagement.roleAssignmentScheduleRequests.unifiedRoleAssignmentScheduleRequest.updateRequest parameters: - name: unifiedRoleAssignmentScheduleRequest-id @@ -644500,6 +646459,68 @@ paths: - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -645876,6 +647897,61 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.list.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -647906,6 +649982,61 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.listItem + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.listItem.permissions.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -648486,6 +650617,54 @@ paths: - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/shares/{sharedDriveItem-id}/permission/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - shares.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: shares.sharedDriveItem.permission.revokeGrants + parameters: + - name: sharedDriveItem-id + in: path + description: The unique identifier of sharedDriveItem + required: true + schema: + type: string + x-ms-docs-key-type: sharedDriveItem + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/shares/{sharedDriveItem-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/shares/{sharedDriveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/shares/{sharedDriveItem-id}/root': description: Provides operations to manage the root property of the microsoft.graph.sharedDriveItem entity. get: @@ -657440,28 +659619,110 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - sites.list + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true responses: - '204': + 2XX: description: Success + content: + application/json: + schema: + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - sites.list - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: sites.site.lists.list.items.listItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.items.listItem.permissions.permission.revokeGrants parameters: - name: site-id in: path @@ -657498,12 +659759,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -657514,25 +659770,16 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' - '@odata.nextLink': - type: string + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -659127,6 +661374,67 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.list + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.lists.list.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: list-id + in: path + description: The unique identifier of list + required: true + schema: + type: string + x-ms-docs-key-type: list + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/lists/{list-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -673374,6 +675682,60 @@ paths: x-ms-docs-grouped-path: - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.grant' + '/sites/{site-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - sites.permission + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: sites.site.permissions.permission.revokeGrants + parameters: + - name: site-id + in: path + description: The unique identifier of site + required: true + schema: + type: string + x-ms-docs-key-type: site + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/sites/{site-id}/lists/{list-id}/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/sites/{site-id}/lists/{list-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/sites/{site-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -729531,6 +731893,59 @@ paths: operationName: listMore x-ms-docs-grouped-path: - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.grant' + '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.containers.fileStorageContainer.permissions.permission.revokeGrants + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -733445,6 +735860,59 @@ paths: operationName: listMore x-ms-docs-grouped-path: - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.grant' + '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - storage.fileStorage + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: storage.fileStorage.deletedContainers.fileStorageContainer.permissions.permission.revokeGrants + parameters: + - name: fileStorageContainer-id + in: path + description: The unique identifier of fileStorageContainer + required: true + schema: + type: string + x-ms-docs-key-type: fileStorageContainer + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/storage/fileStorage/containers/{fileStorageContainer-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' '/storage/fileStorage/deletedContainers/{fileStorageContainer-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -763632,56 +766100,290 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.authentication + summary: Update phoneAuthenticationMethod + description: 'Update a user''s phone number associated with a phone authentication method object. You can''t change a phone''s type. To change a phone''s type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren''t supported.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-update?view=graph-rest-1.0 + operationId: users.authentication.UpdatePhoneMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.authentication + summary: Delete navigation property phoneMethods for users + operationId: users.authentication.DeletePhoneMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': + description: Provides operations to call the disableSmsSignIn method. + post: + tags: + - users.authentication + summary: Invoke action disableSmsSignIn + description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 + operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': + description: Provides operations to call the enableSmsSignIn method. + post: + tags: + - users.authentication + summary: Invoke action enableSmsSignIn + description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 + operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: phoneAuthenticationMethod-id + in: path + description: The unique identifier of phoneAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: phoneAuthenticationMethod + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + '/users/{user-id}/authentication/phoneMethods/$count': + description: Provides operations to count the resources in the collection. + get: + tags: + - users.authentication + summary: Get the number of the resource + operationId: users.authentication.phoneMethods.GetCount-2ea0 + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + responses: + 2XX: + $ref: '#/components/responses/ODataCountResponse' + default: + $ref: '#/components/responses/error' + '/users/{user-id}/authentication/platformCredentialMethods': + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get platformCredentialMethods from users + description: Represents a platform credential instance registered to a user on Mac OS. + operationId: users.authentication.ListPlatformCredentialMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - $ref: '#/components/parameters/top' + - $ref: '#/components/parameters/skip' + - $ref: '#/components/parameters/search' + - $ref: '#/components/parameters/filter' + - $ref: '#/components/parameters/count' + - name: $orderby + in: query + description: Order items by property values + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + default: + $ref: '#/components/responses/error' + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': + description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + get: + tags: + - users.authentication + summary: Get platformCredentialMethods from users + description: Represents a platform credential instance registered to a user on Mac OS. + operationId: users.authentication.GetPlatformCredentialMethods + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: platformCredentialAuthenticationMethod-id + in: path + description: The unique identifier of platformCredentialAuthenticationMethod + required: true + schema: + type: string + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + delete: tags: - users.authentication - summary: Update phoneAuthenticationMethod - description: 'Update a user''s phone number associated with a phone authentication method object. You can''t change a phone''s type. To change a phone''s type, add a new number of the desired type and then delete the object with the original type. If a user is enabled by policy to use SMS to sign in and the mobile number is changed, the system will attempt to register the number for use in that system. Self-service operations aren''t supported.' + summary: Delete platformCredentialAuthenticationMethod + description: Delete a platformCredentialAuthenticationMethod object. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-update?view=graph-rest-1.0 - operationId: users.authentication.UpdatePhoneMethods - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true - schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod - requestBody: - description: New navigation property values - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - required: true - responses: - 2XX: - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.phoneAuthenticationMethod' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.authentication - summary: Delete navigation property phoneMethods for users - operationId: users.authentication.DeletePhoneMethods + url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeletePlatformCredentialMethods parameters: - name: user-id in: path @@ -763690,13 +766392,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id + - name: platformCredentialAuthenticationMethod-id in: path - description: The unique identifier of phoneAuthenticationMethod + description: The unique identifier of platformCredentialAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: phoneAuthenticationMethod + x-ms-docs-key-type: platformCredentialAuthenticationMethod - name: If-Match in: header description: ETag @@ -763708,17 +766410,14 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.disableSmsSignIn': - description: Provides operations to call the disableSmsSignIn method. - post: + '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + get: tags: - users.authentication - summary: Invoke action disableSmsSignIn - description: 'Disable SMS sign-in for an existing mobile phone number registered to a user. The number will no longer be available for SMS sign-in, which can prevent your user from signing in.' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-disablesmssignin?view=graph-rest-1.0 - operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.disableSmsSignIn + summary: Get device from users + description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' + operationId: users.authentication.platformCredentialMethods.GetDevice parameters: - name: user-id in: path @@ -763727,58 +766426,50 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id + - name: platformCredentialAuthenticationMethod-id in: path - description: The unique identifier of phoneAuthenticationMethod + description: The unique identifier of platformCredentialAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: phoneAuthenticationMethod - responses: - '204': - description: Success - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/users/{user-id}/authentication/phoneMethods/{phoneAuthenticationMethod-id}/microsoft.graph.enableSmsSignIn': - description: Provides operations to call the enableSmsSignIn method. - post: - tags: - - users.authentication - summary: Invoke action enableSmsSignIn - description: 'Enable SMS sign-in for an existing mobile phone number registered to a user. To be successfully enabled:' - externalDocs: - description: Find more info here - url: https://learn.microsoft.com/graph/api/phoneauthenticationmethod-enablesmssignin?view=graph-rest-1.0 - operationId: users.user.authentication.phoneMethods.phoneAuthenticationMethod.enableSmsSignIn - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true + x-ms-docs-key-type: platformCredentialAuthenticationMethod + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false schema: - type: string - x-ms-docs-key-type: user - - name: phoneAuthenticationMethod-id - in: path - description: The unique identifier of phoneAuthenticationMethod - required: true + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false schema: - type: string - x-ms-docs-key-type: phoneAuthenticationMethod + uniqueItems: true + type: array + items: + type: string responses: - '204': - description: Success + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.device' default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: action - '/users/{user-id}/authentication/phoneMethods/$count': + x-ms-docs-operation-type: operation + '/users/{user-id}/authentication/platformCredentialMethods/$count': description: Provides operations to count the resources in the collection. get: tags: - users.authentication summary: Get the number of the resource - operationId: users.authentication.phoneMethods.GetCount-2ea0 + operationId: users.authentication.platformCredentialMethods.GetCount-66e6 parameters: - name: user-id in: path @@ -763794,14 +766485,17 @@ paths: $ref: '#/components/responses/ODataCountResponse' default: $ref: '#/components/responses/error' - '/users/{user-id}/authentication/platformCredentialMethods': - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - users.authentication - summary: Get platformCredentialMethods from users - description: Represents a platform credential instance registered to a user on Mac OS. - operationId: users.authentication.ListPlatformCredentialMethods + summary: List resourceAccountKeyAuthenticationMethods + description: Retrieve a list of the resourceAccountKeyAuthenticationMethod objects and their properties for a resource account. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/authentication-list-resourceaccountkeyauthenticationmethods?view=graph-rest-1.0 + operationId: users.authentication.ListResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -763847,21 +766541,24 @@ paths: type: string responses: 2XX: - $ref: '#/components/responses/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + $ref: '#/components/responses/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' default: $ref: '#/components/responses/error' x-ms-pageable: nextLinkName: '@odata.nextLink' operationName: listMore x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}': - description: Provides operations to manage the platformCredentialMethods property of the microsoft.graph.authentication entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}': + description: Provides operations to manage the resourceAccountKeyAuthenticationMethods property of the microsoft.graph.authentication entity. get: tags: - users.authentication - summary: Get platformCredentialMethods from users - description: Represents a platform credential instance registered to a user on Mac OS. - operationId: users.authentication.GetPlatformCredentialMethods + summary: Get resourceAccountKeyAuthenticationMethod + description: Read the properties and relationships of a resourceAccountKeyAuthenticationMethod object. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-get?view=graph-rest-1.0 + operationId: users.authentication.GetResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -763870,13 +766567,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -763903,19 +766600,19 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation delete: tags: - users.authentication - summary: Delete platformCredentialAuthenticationMethod - description: Delete a platformCredentialAuthenticationMethod object. + summary: Delete resourceAccountKeyAuthenticationMethod + description: Delete a resourceAccountKeyAuthenticationMethod object. externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/platformcredentialauthenticationmethod-delete?view=graph-rest-1.0 - operationId: users.authentication.DeletePlatformCredentialMethods + url: https://learn.microsoft.com/graph/api/resourceaccountkeyauthenticationmethod-delete?view=graph-rest-1.0 + operationId: users.authentication.DeleteResourceAccountKeyAuthenticationMethods parameters: - name: user-id in: path @@ -763924,13 +766621,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: If-Match in: header description: ETag @@ -763942,14 +766639,14 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/{platformCredentialAuthenticationMethod-id}/device': - description: Provides operations to manage the device property of the microsoft.graph.platformCredentialAuthenticationMethod entity. + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/{resourceAccountKeyAuthenticationMethod-id}/device': + description: Provides operations to manage the device property of the microsoft.graph.resourceAccountKeyAuthenticationMethod entity. get: tags: - users.authentication summary: Get device from users - description: 'The registered device on which this Platform Credential resides. Supports $expand. When you get a user''s Platform Credential registration information, this property is returned only on a single GET and when you specify ?$expand. For example, GET /users/admin@contoso.com/authentication/platformCredentialAuthenticationMethod/_jpuR-TGZtk6aQCLF3BQjA2?$expand=device.' - operationId: users.authentication.platformCredentialMethods.GetDevice + description: The registered device on which this resource account key resides. Supports $expand. + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetDevice parameters: - name: user-id in: path @@ -763958,13 +766655,13 @@ paths: schema: type: string x-ms-docs-key-type: user - - name: platformCredentialAuthenticationMethod-id + - name: resourceAccountKeyAuthenticationMethod-id in: path - description: The unique identifier of platformCredentialAuthenticationMethod + description: The unique identifier of resourceAccountKeyAuthenticationMethod required: true schema: type: string - x-ms-docs-key-type: platformCredentialAuthenticationMethod + x-ms-docs-key-type: resourceAccountKeyAuthenticationMethod - name: $select in: query description: Select properties to be returned @@ -763995,13 +766692,13 @@ paths: default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - '/users/{user-id}/authentication/platformCredentialMethods/$count': + '/users/{user-id}/authentication/resourceAccountKeyAuthenticationMethods/$count': description: Provides operations to count the resources in the collection. get: tags: - users.authentication summary: Get the number of the resource - operationId: users.authentication.platformCredentialMethods.GetCount-66e6 + operationId: users.authentication.resourceAccountKeyAuthenticationMethods.GetCount-f526 parameters: - name: user-id in: path @@ -793412,41 +796109,146 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.items.listItem.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.items.listItem.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag schema: - uniqueItems: true - type: array - items: - type: string + type: string responses: - 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.permission' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Update the navigation property permissions in users - operationId: users.drives.items.listItem.UpdatePermissions + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant parameters: - name: user-id in: path @@ -793477,11 +796279,21 @@ paths: type: string x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -793489,69 +796301,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property permissions for users - operationId: users.drives.items.listItem.DeletePermissions - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: permission-id - in: path - description: The unique identifier of permission - required: true - schema: - type: string - x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - users.drive - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.listItem.permissions.permission.revokeGrants parameters: - name: user-id in: path @@ -793588,12 +796370,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -793604,28 +796381,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' - '@odata.nextLink': - type: string + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -795914,11 +798682,125 @@ paths: type: string x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.items.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: driveItem-id + in: path + description: The unique identifier of driveItem + required: true + schema: + type: string + x-ms-docs-key-type: driveItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -795926,68 +798808,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property permissions for users - operationId: users.drives.items.DeletePermissions - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: driveItem-id - in: path - description: The unique identifier of driveItem - required: true - schema: - type: string - x-ms-docs-key-type: driveItem - - name: permission-id - in: path - description: The unique identifier of permission - required: true - schema: - type: string - x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}' - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - users.drive - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: users.user.drives.drive.items.driveItem.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.items.driveItem.permissions.permission.revokeGrants parameters: - name: user-id in: path @@ -796024,12 +798877,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -796040,28 +798888,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' - '@odata.nextLink': - type: string + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -802737,6 +805576,77 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.items.listItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: listItem-id + in: path + description: The unique identifier of listItem + required: true + schema: + type: string + x-ms-docs-key-type: listItem + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -804287,11 +807197,109 @@ paths: type: string x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.list.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag + schema: + type: string + responses: + '204': + description: Success + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: + tags: + - users.drive + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.grant + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -804299,59 +807307,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property permissions for users - operationId: users.drives.list.DeletePermissions - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: permission-id - in: path - description: The unique identifier of permission - required: true - schema: - type: string - x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - users.drive - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: users.user.drives.drive.list.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.list.permissions.permission.revokeGrants parameters: - name: user-id in: path @@ -804381,12 +807369,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -804397,28 +807380,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' - '@odata.nextLink': - type: string + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/list/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -809153,6 +812127,70 @@ paths: - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. + post: + tags: + - users.drive + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.listItem.permissions.permission.revokeGrants + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: Action parameters + content: + application/json: + schema: + type: object + properties: + grantees: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object + nullable: true + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: action + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -811138,41 +814176,131 @@ paths: schema: type: string x-ms-docs-key-type: permission - - name: $select - in: query - description: Select properties to be returned - style: form - explode: false - schema: - uniqueItems: true - type: array - items: - type: string - - name: $expand - in: query - description: Expand related entities - style: form - explode: false + - name: $select + in: query + description: Select properties to be returned + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + - name: $expand + in: query + description: Expand related entities + style: form + explode: false + schema: + uniqueItems: true + type: array + items: + type: string + responses: + 2XX: + description: Retrieved navigation property + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + patch: + tags: + - users.drive + summary: Update the navigation property permissions in users + operationId: users.drives.root.UpdatePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + requestBody: + description: New navigation property values + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + required: true + responses: + 2XX: + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.permission' + default: + $ref: '#/components/responses/error' + x-ms-docs-operation-type: operation + delete: + tags: + - users.drive + summary: Delete navigation property permissions for users + operationId: users.drives.root.DeletePermissions + parameters: + - name: user-id + in: path + description: The unique identifier of user + required: true + schema: + type: string + x-ms-docs-key-type: user + - name: drive-id + in: path + description: The unique identifier of drive + required: true + schema: + type: string + x-ms-docs-key-type: drive + - name: permission-id + in: path + description: The unique identifier of permission + required: true + schema: + type: string + x-ms-docs-key-type: permission + - name: If-Match + in: header + description: ETag schema: - uniqueItems: true - type: array - items: - type: string + type: string responses: - 2XX: - description: Retrieved navigation property - content: - application/json: - schema: - $ref: '#/components/schemas/microsoft.graph.permission' + '204': + description: Success default: $ref: '#/components/responses/error' x-ms-docs-operation-type: operation - patch: + x-ms-docs-grouped-path: + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}' + '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant': + description: Provides operations to call the grant method. + post: tags: - users.drive - summary: Update the navigation property permissions in users - operationId: users.drives.root.UpdatePermissions + summary: Invoke action grant + description: Grant users access to a link represented by a permission. + externalDocs: + description: Find more info here + url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.permissions.permission.grant parameters: - name: user-id in: path @@ -811196,11 +814324,21 @@ paths: type: string x-ms-docs-key-type: permission requestBody: - description: New navigation property values + description: Action parameters content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' + type: object + properties: + roles: + type: array + items: + type: string + nullable: true + recipients: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.driveRecipient' required: true responses: 2XX: @@ -811208,61 +814346,39 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/microsoft.graph.permission' - default: - $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation - delete: - tags: - - users.drive - summary: Delete navigation property permissions for users - operationId: users.drives.root.DeletePermissions - parameters: - - name: user-id - in: path - description: The unique identifier of user - required: true - schema: - type: string - x-ms-docs-key-type: user - - name: drive-id - in: path - description: The unique identifier of drive - required: true - schema: - type: string - x-ms-docs-key-type: drive - - name: permission-id - in: path - description: The unique identifier of permission - required: true - schema: - type: string - x-ms-docs-key-type: permission - - name: If-Match - in: header - description: ETag - schema: - type: string - responses: - '204': - description: Success + title: Collection of permission + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.permission' + '@odata.nextLink': + type: string + nullable: true default: $ref: '#/components/responses/error' - x-ms-docs-operation-type: operation + x-ms-docs-operation-type: action + x-ms-pageable: + nextLinkName: '@odata.nextLink' + operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}' - '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.grant': - description: Provides operations to call the grant method. + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + '/users/{user-id}/drives/{drive-id}/root/permissions/{permission-id}/microsoft.graph.revokeGrants': + description: Provides operations to call the revokeGrants method. post: tags: - users.drive - summary: Invoke action grant - description: Grant users access to a link represented by a permission. + summary: Invoke action revokeGrants + description: 'Revoke access to a listItem or driveItem granted via a sharing link by removing the specified driveRecipient entries from the link. Recipients who already redeemed the link and recipients who only received an invitation both lose access. Revoking a grant removes the recipient from this sharing link only; it doesn''t remove any access the recipient has through a different sharing link, a direct grant, or membership in a group that has access.' externalDocs: description: Find more info here - url: https://learn.microsoft.com/graph/api/permission-grant?view=graph-rest-1.0 - operationId: users.user.drives.drive.root.permissions.permission.grant + url: https://learn.microsoft.com/graph/api/permission-revokegrants?view=graph-rest-1.0 + operationId: users.user.drives.drive.root.permissions.permission.revokeGrants parameters: - name: user-id in: path @@ -811292,12 +814408,7 @@ paths: schema: type: object properties: - roles: - type: array - items: - type: string - nullable: true - recipients: + grantees: type: array items: $ref: '#/components/schemas/microsoft.graph.driveRecipient' @@ -811308,28 +814419,19 @@ paths: content: application/json: schema: - title: Collection of permission - type: object - properties: - value: - type: array - items: - $ref: '#/components/schemas/microsoft.graph.permission' - '@odata.nextLink': - type: string + anyOf: + - $ref: '#/components/schemas/microsoft.graph.permission' + - type: object nullable: true default: $ref: '#/components/responses/error' x-ms-docs-operation-type: action - x-ms-pageable: - nextLinkName: '@odata.nextLink' - operationName: listMore x-ms-docs-grouped-path: - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.grant' - - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.grant' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/items/{driveItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/items/{listItem-id}/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/list/permissions/{permission-id}/microsoft.graph.revokeGrants' + - '/users/{user-id}/drives/{drive-id}/root/listItem/permissions/{permission-id}/microsoft.graph.revokeGrants' '/users/{user-id}/drives/{drive-id}/root/permissions/$count': description: Provides operations to count the resources in the collection. get: @@ -838274,7 +841376,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -840654,7 +843756,7 @@ paths: tags: - users.mailFolder summary: Invoke function delta - description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time." + description: "Get a set of mail folders that have been added, deleted, or removed from the user's mailbox. A delta function call for mail folders in a mailbox is similar to a GET request, except that by appropriately\r\napplying state tokens in one or more of these calls,\r\nyou can query for incremental changes in the mail folders. This allows you to maintain and synchronize\r\na local store of a user's mail folders without having to fetch all the mail folders of that mailbox from the server every time. Delta processing may create or update synchronization state stored in the mailbox. These writes are subject to mailbox storage quota enforcement. If a mailbox has reached its applicable storage quota, a mail folder delta request can return 403 ErrorQuotaExceeded, even when ordinary folder read requests continue to succeed. Reduce mailbox usage below the quota and retry the delta request. Applications should handle this error and direct affected users or administrators to address mailbox storage usage." externalDocs: description: Find more info here url: https://learn.microsoft.com/graph/api/mailfolder-delta?view=graph-rest-1.0 @@ -875813,6 +878915,21 @@ components: type: boolean description: Password is required or not for work profile description: Android Work Profile general device configuration. + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyDetail + type: object + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusyReviewer + type: object + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + allOf: + - $ref: '#/components/schemas/microsoft.graph.m365CapabilityBase' + - title: anonymousCalendarSharingFreeBusySimple + type: object microsoft.graph.anonymousGuestConversationMember: allOf: - $ref: '#/components/schemas/microsoft.graph.conversationMember' @@ -876845,6 +879962,12 @@ components: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethod' description: Represents a platform credential instance registered to a user on Mac OS. x-ms-navigationProperty: true + resourceAccountKeyAuthenticationMethods: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' + description: Represents the resource account key credentials registered to a user for authentication on shared devices. + x-ms-navigationProperty: true softwareOathMethods: type: array items: @@ -888540,7 +891663,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.assignedLabel' - description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. See Key differences from Microsoft 365 group labeling to learn more about managing this property for Microsoft 365 vs. cloud security groups.' + description: 'The list of sensitivity label pairs (label ID, label name) associated with a Microsoft 365 group or a cloud security group. Requires a Microsoft Entra ID P1 license. Requires $select to retrieve. This property can be specified during group creation or update. However, for cloud security groups, it''s immutable once set. This property can be updated only in delegated scenarios where the caller requires both the Microsoft Graph permission and a supported administrator role. To learn more about managing this property for Microsoft 365 vs. cloud security groups, see Key differences from Microsoft 365 group labeling.' assignedLicenses: type: array items: @@ -896921,11 +900044,11 @@ components: properties: activity: type: string - description: 'The supplemental information to a user''s availability. Possible values are available, away, beRightBack, busy, doNotDisturb, offline, outOfOffice, presenceUnknown.' + description: 'The supplemental information to a user''s availability. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Offline, OutOfOffice, PresenceUnknown.' nullable: true availability: type: string - description: 'The base presence information for a user. Possible values are available, away, beRightBack, busy, doNotDisturb, focusing, inACall, inAMeeting, offline, presenting, presenceUnknown.' + description: 'The base presence information for a user. Possible values are Available, Away, BeRightBack, Busy, DoNotDisturb, Focusing, InACall, InAMeeting, Offline, Presenting, PresenceUnknown.' nullable: true outOfOfficeSettings: anyOf: @@ -897764,6 +900887,7 @@ components: type: array items: $ref: '#/components/schemas/microsoft.graph.roleManagementCustomCalloutExtension' + description: The custom extensions configured for PIM role management operations. x-ms-navigationProperty: true group: anyOf: @@ -898987,6 +902111,23 @@ components: isPartnerConsentPending: type: boolean description: Indicates the indirect reseller partner consent status. true indicates that the partner has yet to review the relationship; false indicates that the partner has already provided consent by approving or rejecting the relationship. + microsoft.graph.resourceAccountKeyAuthenticationMethod: + allOf: + - $ref: '#/components/schemas/microsoft.graph.authenticationMethod' + - title: resourceAccountKeyAuthenticationMethod + type: object + properties: + displayName: + type: string + description: The display name of the resource account key credential as shown in the Teams Room interface. + nullable: true + device: + anyOf: + - $ref: '#/components/schemas/microsoft.graph.device' + - type: object + nullable: true + description: The registered device on which this resource account key resides. Supports $expand. + x-ms-navigationProperty: true microsoft.graph.resourceOperation: allOf: - $ref: '#/components/schemas/microsoft.graph.entity' @@ -899619,6 +902760,7 @@ components: items: type: string nullable: true + description: The custom attribute names to include in the callout payload. resourceType: $ref: '#/components/schemas/microsoft.graph.customExtensionResourceType' type: @@ -905266,14 +908408,18 @@ components: type: array items: type: string + description: The custom attributes associated with the policy rule. Read-only. customExtensionId: type: string + description: The unique identifier of the roleManagementCustomCalloutExtension associated with this rule. nullable: true displayName: type: string + description: The display name of the policy rule. Read-only. nullable: true isEnabled: type: boolean + description: Indicates whether the custom extension rule is enabled. nullable: true microsoft.graph.unifiedRoleManagementPolicyEnablementRule: allOf: @@ -918758,14 +921904,14 @@ components: maximum: 2147483647 minimum: -2147483648 type: number - description: 'The max number of retries that Microsoft Entra ID makes to the external API. Values of 0 or 1 are supported. If null, the default for the service applies.' + description: 'The max number of retries that Microsoft Entra ID makes to the external API. For a roleManagementCustomCalloutExtension, the valid range is from 0 through 5. For other custom extensions, values of 0 or 1 are supported. If null, the default for the service applies.' format: int32 nullable: true timeoutInMilliseconds: maximum: 2147483647 minimum: -2147483648 type: number - description: The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. The valid range is between 200 and 2000 milliseconds. Default duration is 1000. + description: 'The max duration in milliseconds that Microsoft Entra ID waits for a response from the external app before it shuts down the connection. For a roleManagementCustomCalloutExtension, the valid range is from 1000 through 60000 milliseconds. For other custom extensions, the valid range is from 200 through 2000 milliseconds and the default is 1000 milliseconds.' format: int32 nullable: true microsoft.graph.customExtensionData: @@ -921250,6 +924396,10 @@ components: title: fileStorageContainerCustomPropertyValue type: object properties: + isPatternToken: + type: boolean + description: 'Indicates whether value is a urlTemplate pattern (for example, a token such as {itemId} used to configure redirect behavior when opening files), rather than a literal value that consumers must resolve before use. Optional. The default value is false.' + nullable: true isSearchable: type: boolean description: Indicates whether the custom property is searchable. Optional. The default value is false. @@ -921288,6 +924438,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -921334,6 +924487,9 @@ components: type: boolean description: Indicates whether item versioning is enabled. nullable: true + isOfficeRestricted: + type: boolean + description: 'Indicates whether Office apps (Word, Excel, and PowerPoint) for desktop and web are restricted for containers of this container type.' isSearchEnabled: type: boolean description: Indicates whether search is enabled. @@ -921695,7 +924851,7 @@ components: properties: targetUrl: type: string - description: The HTTP endpoint that a custom extension calls. + description: The URL of the HTTP endpoint that Microsoft Entra ID calls for the custom extension. nullable: true microsoft.graph.hyperlinkOrPictureColumn: title: hyperlinkOrPictureColumn @@ -927470,6 +930626,16 @@ components: - type: object nullable: true description: Details of the system. + microsoft.graph.provisionResponse: + title: provisionResponse + type: object + properties: + challenge: + type: string + description: The cryptographic challenge that the device uses to complete its registration with the directory. + deviceId: + type: string + description: The unique identifier of the provisioned device. microsoft.graph.proxiedDomain: title: proxiedDomain type: object @@ -927960,6 +931126,19 @@ components: nullable: true relationship: $ref: '#/components/schemas/microsoft.graph.contactRelationship' + microsoft.graph.relatedTenantsRefreshStatus: + title: relatedTenantsRefreshStatus + type: object + properties: + isFirstRefresh: + type: boolean + mostRecentRefreshDateTime: + pattern: '^[0-9]{4,}-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]{1,12})?(Z|[+-][0-9][0-9]:[0-9][0-9])$' + type: string + format: date-time + mostRecentRefreshRequestStatus: + type: string + description: Represents the status of the most recent Related Tenants refresh operation. microsoft.graph.relationshipPolicy: title: relationshipPolicy type: object @@ -938899,6 +942078,7 @@ components: - itemMajorVersionLimit - maxStoragePerContainerInBytes - unknownFutureValue + - isOfficeRestricted type: string x-ms-enum-flags: isFlags: true @@ -944096,6 +947276,7 @@ components: - ios - android - mac + - linux - unknownFutureValue type: string x-ms-enum-flags: @@ -951176,6 +954357,12 @@ components: type: string nullable: true description: The collection of administrative unit IDs to filter on. + approximateReturnedRecordCount: + type: number + description: The approximate number of records retrieved by the query. This value can be higher or lower than recordCountLimit due to distributed counting. Read-only. + format: int64 + nullable: true + readOnly: true displayName: type: string description: The display name of the audit log query. @@ -951198,9 +954385,13 @@ components: type: string nullable: true description: The collection of IP addresses to filter on. + isRecordCountLimitExceeded: + type: boolean + description: Indicates whether the query exceeded the per-search record-count limit. The default value is false. A value of true is authoritative and isn't derived from approximateReturnedRecordCount. Read-only. + readOnly: true keywordFilter: type: string - description: The keyword to filter on. + description: 'Free text to match against the non-indexed content of each record: the workload-specific properties inside auditData, including its AppAccessContext object. The indexed common-schema properties, such as the operation name, aren''t matched by keyword; use their own filters, such as operationFilters, for those.' nullable: true objectIdFilters: type: array @@ -951214,6 +954405,12 @@ components: type: string nullable: true description: The collection of operations to filter on. + recordCountLimit: + type: number + description: The record-count threshold used to limit query result retrieval. Read-only. + format: int64 + nullable: true + readOnly: true recordTypeFilters: type: array items: @@ -962749,6 +965946,17 @@ components: '@odata.nextLink': type: string nullable: true + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + title: Collection of resourceAccountKeyAuthenticationMethod + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethod' + '@odata.nextLink': + type: string + nullable: true microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: title: Collection of softwareOathAuthenticationMethod type: object @@ -969646,6 +972854,39 @@ components: '@odata.nextLink': type: string nullable: true + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyDetail + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetail' + '@odata.nextLink': + type: string + nullable: true + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusyReviewer + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewer' + '@odata.nextLink': + type: string + nullable: true + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + title: Collection of anonymousCalendarSharingFreeBusySimple + type: object + properties: + value: + type: array + items: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimple' + '@odata.nextLink': + type: string + nullable: true microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: title: Collection of crossTenantCalendarAvailabilityBasic type: object @@ -976084,6 +979325,12 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.platformCredentialAuthenticationMethodCollectionResponse' + microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.resourceAccountKeyAuthenticationMethodCollectionResponse' microsoft.graph.softwareOathAuthenticationMethodCollectionResponse: description: Retrieved collection content: @@ -979846,6 +983093,24 @@ components: application/json: schema: $ref: '#/components/schemas/microsoft.graph.skypeUserConversationMemberCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyDetailCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusyReviewerCollectionResponse' + microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse: + description: Retrieved collection + content: + application/json: + schema: + $ref: '#/components/schemas/microsoft.graph.anonymousCalendarSharingFreeBusySimpleCollectionResponse' microsoft.graph.crossTenantCalendarAvailabilityBasicCollectionResponse: description: Retrieved collection content: @@ -983929,6 +987194,12 @@ components: '@odata.type': microsoft.graph.androidWorkProfileRequiredPasswordType workProfilePasswordSignInFailureCountBeforeFactoryReset: '0' workProfileRequirePassword: 'true' + microsoft.graph.anonymousCalendarSharingFreeBusyDetail: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusyReviewer: + value: { } + microsoft.graph.anonymousCalendarSharingFreeBusySimple: + value: { } microsoft.graph.anonymousGuestConversationMember: value: anonymousGuestId: String @@ -984238,6 +987509,8 @@ components: - '@odata.type': microsoft.graph.phoneAuthenticationMethod platformCredentialMethods: - '@odata.type': microsoft.graph.platformCredentialAuthenticationMethod + resourceAccountKeyAuthenticationMethods: + - '@odata.type': microsoft.graph.resourceAccountKeyAuthenticationMethod softwareOathMethods: - '@odata.type': microsoft.graph.softwareOathAuthenticationMethod temporaryAccessPassMethods: @@ -990994,6 +994267,11 @@ components: value: indirectProviderTenantId: String isPartnerConsentPending: 'true' + microsoft.graph.resourceAccountKeyAuthenticationMethod: + value: + device: + '@odata.type': microsoft.graph.device + displayName: String microsoft.graph.resourceOperation: value: actionName: String @@ -997853,6 +1001131,7 @@ components: value: { } microsoft.graph.fileStorageContainerCustomPropertyValue: value: + isPatternToken: 'true' isSearchable: 'true' value: String microsoft.graph.fileStorageContainerSettings: @@ -997864,6 +1001143,7 @@ components: value: isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -997877,6 +1001157,7 @@ components: '@odata.type': microsoft.graph.fileStorageContainerTypeSettingsOverride isDiscoverabilityEnabled: 'true' isItemVersioningEnabled: 'true' + isOfficeRestricted: 'true' isSearchEnabled: 'true' isSharingRestricted: 'true' itemMajorVersionLimit: '0' @@ -999888,6 +1003169,10 @@ components: value: details: '@odata.type': microsoft.graph.detailsInfo + microsoft.graph.provisionResponse: + value: + challenge: String + deviceId: String microsoft.graph.proxiedDomain: value: ipAddressOrFQDN: String @@ -1000040,6 +1003325,11 @@ components: mobilePhone: String relationship: '@odata.type': microsoft.graph.contactRelationship + microsoft.graph.relatedTenantsRefreshStatus: + value: + isFirstRefresh: 'true' + mostRecentRefreshDateTime: '0001-01-01T00:00:00.0000000+00:00' + mostRecentRefreshRequestStatus: String microsoft.graph.relationshipPolicy: value: delegatedAdministrationRoleAssignments: @@ -1003418,16 +1006708,19 @@ components: value: administrativeUnitIdFilters: - String + approximateReturnedRecordCount: '0' displayName: String filterEndDateTime: '0001-01-01T00:00:00.0000000+00:00' filterStartDateTime: '0001-01-01T00:00:00.0000000+00:00' ipAddressFilters: - String + isRecordCountLimitExceeded: 'true' keywordFilter: String objectIdFilters: - String operationFilters: - String + recordCountLimit: '0' records: - '@odata.type': microsoft.graph.security.auditLogRecord recordTypeFilters: