naftiko: 1.0.0-alpha2 info: label: Box Platform API — Domain Restrictions (User Exemptions) description: 'Box Platform API — Domain Restrictions (User Exemptions). 4 operations. Lead operation: Box List users exempt from collaboration domain restrictions. Self-contained Naftiko capability covering one Box business surface.' tags: - Box - Domain Restrictions (User Exemptions) created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BOX_API_KEY: BOX_API_KEY capability: consumes: - type: http namespace: box-domain-restrictions-user-exemptions baseUri: https://api.box.com/2.0 description: Box Platform API — Domain Restrictions (User Exemptions) business capability. Self-contained, no shared references. resources: - name: collaboration_whitelist_exempt_targets path: /collaboration_whitelist_exempt_targets operations: - name: getcollaborationwhitelistexempttargets method: GET description: Box List users exempt from collaboration domain restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: marker in: query type: string description: Defines the position marker at which to begin returning results. This is - name: limit in: query type: integer description: The maximum number of items to return per page. - name: postcollaborationwhitelistexempttargets method: POST description: Box Create user exemption from collaboration domain restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: collaboration_whitelist_exempt_targets-collaboration_whitelist_exempt_target_id path: /collaboration_whitelist_exempt_targets/{collaboration_whitelist_exempt_target_id} operations: - name: getcollaborationwhitelistexempttargetsid method: GET description: Box Get user exempt from collaboration domain restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: collaboration_whitelist_exempt_target_id in: path type: string description: The ID of the exemption to the list. required: true - name: deletecollaborationwhitelistexempttargetsid method: DELETE description: Box Remove user from list of users exempt from domain restrictions outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: collaboration_whitelist_exempt_target_id in: path type: string description: The ID of the exemption to the list. required: true authentication: type: bearer token: '{{env.BOX_API_KEY}}' exposes: - type: rest namespace: box-domain-restrictions-user-exemptions-rest port: 8080 description: REST adapter for Box Platform API — Domain Restrictions (User Exemptions). One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/collaboration-whitelist-exempt-targets name: collaboration-whitelist-exempt-targets description: REST surface for collaboration_whitelist_exempt_targets. operations: - method: GET name: getcollaborationwhitelistexempttargets description: Box List users exempt from collaboration domain restrictions call: box-domain-restrictions-user-exemptions.getcollaborationwhitelistexempttargets with: marker: rest.marker limit: rest.limit outputParameters: - type: object mapping: $. - method: POST name: postcollaborationwhitelistexempttargets description: Box Create user exemption from collaboration domain restrictions call: box-domain-restrictions-user-exemptions.postcollaborationwhitelistexempttargets with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/collaboration-whitelist-exempt-targets/{collaboration-whitelist-exempt-target-id} name: collaboration-whitelist-exempt-targets-collaboration-whitelist-exempt-target-id description: REST surface for collaboration_whitelist_exempt_targets-collaboration_whitelist_exempt_target_id. operations: - method: GET name: getcollaborationwhitelistexempttargetsid description: Box Get user exempt from collaboration domain restrictions call: box-domain-restrictions-user-exemptions.getcollaborationwhitelistexempttargetsid with: collaboration_whitelist_exempt_target_id: rest.collaboration_whitelist_exempt_target_id outputParameters: - type: object mapping: $. - method: DELETE name: deletecollaborationwhitelistexempttargetsid description: Box Remove user from list of users exempt from domain restrictions call: box-domain-restrictions-user-exemptions.deletecollaborationwhitelistexempttargetsid with: collaboration_whitelist_exempt_target_id: rest.collaboration_whitelist_exempt_target_id outputParameters: - type: object mapping: $. - type: mcp namespace: box-domain-restrictions-user-exemptions-mcp port: 9090 transport: http description: MCP adapter for Box Platform API — Domain Restrictions (User Exemptions). One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: box-list-users-exempt-collaboration description: Box List users exempt from collaboration domain restrictions hints: readOnly: true destructive: false idempotent: true call: box-domain-restrictions-user-exemptions.getcollaborationwhitelistexempttargets with: marker: tools.marker limit: tools.limit outputParameters: - type: object mapping: $. - name: box-create-user-exemption-collaboration description: Box Create user exemption from collaboration domain restrictions hints: readOnly: false destructive: false idempotent: false call: box-domain-restrictions-user-exemptions.postcollaborationwhitelistexempttargets with: body: tools.body outputParameters: - type: object mapping: $. - name: box-get-user-exempt-collaboration description: Box Get user exempt from collaboration domain restrictions hints: readOnly: true destructive: false idempotent: true call: box-domain-restrictions-user-exemptions.getcollaborationwhitelistexempttargetsid with: collaboration_whitelist_exempt_target_id: tools.collaboration_whitelist_exempt_target_id outputParameters: - type: object mapping: $. - name: box-remove-user-list-users description: Box Remove user from list of users exempt from domain restrictions hints: readOnly: false destructive: true idempotent: true call: box-domain-restrictions-user-exemptions.deletecollaborationwhitelistexempttargetsid with: collaboration_whitelist_exempt_target_id: tools.collaboration_whitelist_exempt_target_id outputParameters: - type: object mapping: $.