naftiko: 1.0.0-alpha2 info: label: Microsoft Graph Permissiongrants — Users.team description: 'Microsoft Graph Permissiongrants — Users.team. 6 operations. Lead operation: Microsoft Graph Get permissionGrants from users. Self-contained Naftiko capability covering one Microsoft Graph business surface.' tags: - Microsoft Graph - Users.team created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_GRAPH_API_KEY: MICROSOFT_GRAPH_API_KEY capability: consumes: - type: http namespace: permissiongrants-users-team baseUri: '' description: Microsoft Graph Permissiongrants — Users.team business capability. Self-contained, no shared references. resources: - name: users-user-id-joinedTeams-team-id-permissionGrants path: /users/{user-id}/joinedTeams/{team-id}/permissionGrants operations: - name: usersjoinedteamslistpermissiongrants method: GET description: Microsoft Graph Get permissionGrants from users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $orderby in: query type: array description: Order items by property values - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: usersjoinedteamscreatepermissiongrants method: POST description: Microsoft Graph Create new navigation property to permissionGrants for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: users-user-id-joinedTeams-team-id-permissionGrants-$count path: /users/{user-id}/joinedTeams/{team-id}/permissionGrants/$count operations: - name: usersjoinedteamspermissiongrantsgetcount70b8 method: GET description: Microsoft Graph Get the number of the resource outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-user-id-joinedTeams-team-id-permissionGrants-resourceSpecificPermissionGra path: /users/{user-id}/joinedTeams/{team-id}/permissionGrants/{resourceSpecificPermissionGrant-id} operations: - name: usersjoinedteamsgetpermissiongrants method: GET description: Microsoft Graph Get permissionGrants from users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: $select in: query type: array description: Select properties to be returned - name: $expand in: query type: array description: Expand related entities - name: usersjoinedteamsupdatepermissiongrants method: PATCH description: Microsoft Graph Update the navigation property permissionGrants in users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: usersjoinedteamsdeletepermissiongrants method: DELETE description: Microsoft Graph Delete navigation property permissionGrants for users outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: If-Match in: header type: string description: ETag exposes: - type: rest namespace: permissiongrants-users-team-rest port: 8080 description: REST adapter for Microsoft Graph Permissiongrants — Users.team. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/{user-id}/joinedteams/{team-id}/permissiongrants name: users-user-id-joinedteams-team-id-permissiongrants description: REST surface for users-user-id-joinedTeams-team-id-permissionGrants. operations: - method: GET name: usersjoinedteamslistpermissiongrants description: Microsoft Graph Get permissionGrants from users call: permissiongrants-users-team.usersjoinedteamslistpermissiongrants with: $orderby: rest.$orderby $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: POST name: usersjoinedteamscreatepermissiongrants description: Microsoft Graph Create new navigation property to permissionGrants for users call: permissiongrants-users-team.usersjoinedteamscreatepermissiongrants with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/joinedteams/{team-id}/permissiongrants/count name: users-user-id-joinedteams-team-id-permissiongrants-count description: REST surface for users-user-id-joinedTeams-team-id-permissionGrants-$count. operations: - method: GET name: usersjoinedteamspermissiongrantsgetcount70b8 description: Microsoft Graph Get the number of the resource call: permissiongrants-users-team.usersjoinedteamspermissiongrantsgetcount70b8 outputParameters: - type: object mapping: $. - path: /v1/users/{user-id}/joinedteams/{team-id}/permissiongrants/{resourcespecificpermissiongrant-id} name: users-user-id-joinedteams-team-id-permissiongrants-resourcespecificpermissiongra description: REST surface for users-user-id-joinedTeams-team-id-permissionGrants-resourceSpecificPermissionGra. operations: - method: GET name: usersjoinedteamsgetpermissiongrants description: Microsoft Graph Get permissionGrants from users call: permissiongrants-users-team.usersjoinedteamsgetpermissiongrants with: $select: rest.$select $expand: rest.$expand outputParameters: - type: object mapping: $. - method: PATCH name: usersjoinedteamsupdatepermissiongrants description: Microsoft Graph Update the navigation property permissionGrants in users call: permissiongrants-users-team.usersjoinedteamsupdatepermissiongrants with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: usersjoinedteamsdeletepermissiongrants description: Microsoft Graph Delete navigation property permissionGrants for users call: permissiongrants-users-team.usersjoinedteamsdeletepermissiongrants with: If-Match: rest.If-Match outputParameters: - type: object mapping: $. - type: mcp namespace: permissiongrants-users-team-mcp port: 9090 transport: http description: MCP adapter for Microsoft Graph Permissiongrants — Users.team. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-graph-get-permissiongrants-users description: Microsoft Graph Get permissionGrants from users hints: readOnly: true destructive: false idempotent: true call: permissiongrants-users-team.usersjoinedteamslistpermissiongrants with: $orderby: tools.$orderby $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-create-new-navigation description: Microsoft Graph Create new navigation property to permissionGrants for users hints: readOnly: false destructive: false idempotent: false call: permissiongrants-users-team.usersjoinedteamscreatepermissiongrants with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-get-number-resource description: Microsoft Graph Get the number of the resource hints: readOnly: true destructive: false idempotent: true call: permissiongrants-users-team.usersjoinedteamspermissiongrantsgetcount70b8 outputParameters: - type: object mapping: $. - name: microsoft-graph-get-permissiongrants-users-2 description: Microsoft Graph Get permissionGrants from users hints: readOnly: true destructive: false idempotent: true call: permissiongrants-users-team.usersjoinedteamsgetpermissiongrants with: $select: tools.$select $expand: tools.$expand outputParameters: - type: object mapping: $. - name: microsoft-graph-update-navigation-property description: Microsoft Graph Update the navigation property permissionGrants in users hints: readOnly: false destructive: false idempotent: true call: permissiongrants-users-team.usersjoinedteamsupdatepermissiongrants with: body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-graph-delete-navigation-property description: Microsoft Graph Delete navigation property permissionGrants for users hints: readOnly: false destructive: true idempotent: true call: permissiongrants-users-team.usersjoinedteamsdeletepermissiongrants with: If-Match: tools.If-Match outputParameters: - type: object mapping: $.