naftiko: 1.0.0-alpha2 info: label: Zendesk Organizations — Organization Memberships description: 'Zendesk Organizations — Organization Memberships. 2 operations. Lead operation: Zendesk Delete Api V2 Users User_id Organizations Organization_id. Self-contained Naftiko capability covering one Zendesk business surface.' tags: - Zendesk - Organization Memberships created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ZENDESK_API_KEY: ZENDESK_API_KEY capability: consumes: - type: http namespace: organizations-organization-memberships baseUri: '' description: Zendesk Organizations — Organization Memberships business capability. Self-contained, no shared references. resources: - name: api-v2-users-user_id-organizations-organization_id path: /api/v2/users/{user_id}/organizations/{organization_id} operations: - name: unassignorganization method: DELETE description: Zendesk Delete Api V2 Users User_id Organizations Organization_id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-users-user_id-organizations-organization_id-make_default path: /api/v2/users/{user_id}/organizations/{organization_id}/make_default operations: - name: setorganizationasdefault method: PUT description: Zendesk Put Api V2 Users User_id Organizations Organization_id Make_default outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: organizations-organization-memberships-rest port: 8080 description: REST adapter for Zendesk Organizations — Organization Memberships. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/users/{user-id}/organizations/{organization-id} name: api-v2-users-user-id-organizations-organization-id description: REST surface for api-v2-users-user_id-organizations-organization_id. operations: - method: DELETE name: unassignorganization description: Zendesk Delete Api V2 Users User_id Organizations Organization_id call: organizations-organization-memberships.unassignorganization outputParameters: - type: object mapping: $. - path: /v1/api/v2/users/{user-id}/organizations/{organization-id}/make-default name: api-v2-users-user-id-organizations-organization-id-make-default description: REST surface for api-v2-users-user_id-organizations-organization_id-make_default. operations: - method: PUT name: setorganizationasdefault description: Zendesk Put Api V2 Users User_id Organizations Organization_id Make_default call: organizations-organization-memberships.setorganizationasdefault outputParameters: - type: object mapping: $. - type: mcp namespace: organizations-organization-memberships-mcp port: 9090 transport: http description: MCP adapter for Zendesk Organizations — Organization Memberships. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: zendesk-delete-api-v2-users description: Zendesk Delete Api V2 Users User_id Organizations Organization_id hints: readOnly: false destructive: true idempotent: true call: organizations-organization-memberships.unassignorganization outputParameters: - type: object mapping: $. - name: zendesk-put-api-v2-users description: Zendesk Put Api V2 Users User_id Organizations Organization_id Make_default hints: readOnly: false destructive: false idempotent: true call: organizations-organization-memberships.setorganizationasdefault outputParameters: - type: object mapping: $.