naftiko: 1.0.0-alpha2 info: label: Cvent REST APIs — Users description: 'Cvent REST APIs — Users. 7 operations. Lead operation: List Account User Groups. Self-contained Naftiko capability covering one business surface.' tags: - Cvent - Users created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: CVENT_API_KEY: CVENT_API_KEY capability: consumes: - type: http namespace: rest-users baseUri: https://api-platform.cvent.com/ea description: Cvent REST APIs — Users business capability. Self-contained, no shared references. resources: - name: account-user-groups path: /account-user-groups operations: - name: getaccountusergroups method: GET description: List Account User Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: Filters narrow the results returned and support a combination of logical and comparison operators. The filter adheres to the pattern filter='field' comparisonType 'value'. The following logical operat - name: createaccountusergroup method: POST description: Create Account User Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: account-user-groups-usergroupid path: /account-user-groups/{userGroupId} operations: - name: getaccountusergroup method: GET description: Get Account User Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userGroupId in: path type: string description: Path parameter userGroupId. required: true - name: updateaccountusergroup method: PUT description: Update Account User Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userGroupId in: path type: string description: Path parameter userGroupId. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: deleteaccountusergroup method: DELETE description: Delete Account User Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userGroupId in: path type: string description: Path parameter userGroupId. required: true - name: account-user-groups-usergroupid-users-userid path: /account-user-groups/{userGroupId}/users/{userId} operations: - name: addusertoaccountusergroup method: POST description: Associate User to Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: Path parameter userId. required: true - name: userGroupId in: path type: string description: Path parameter userGroupId. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuserfromaccountusergroup method: DELETE description: Delete User from Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: userId in: path type: string description: Path parameter userId. required: true - name: userGroupId in: path type: string description: Path parameter userGroupId. required: true exposes: - type: rest namespace: rest-users-rest port: 8080 description: REST adapter for Cvent REST APIs — Users. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/account-user-groups name: account-user-groups description: REST surface for account-user-groups. operations: - method: GET name: getaccountusergroups description: List Account User Groups call: rest-users.getaccountusergroups with: filter: rest.filter outputParameters: - type: object mapping: $. - method: POST name: createaccountusergroup description: Create Account User Group call: rest-users.createaccountusergroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/account-user-groups/{userGroupId} name: account-user-groups-usergroupid description: REST surface for account-user-groups-usergroupid. operations: - method: GET name: getaccountusergroup description: Get Account User Group call: rest-users.getaccountusergroup with: userGroupId: rest.userGroupId outputParameters: - type: object mapping: $. - method: PUT name: updateaccountusergroup description: Update Account User Group call: rest-users.updateaccountusergroup with: userGroupId: rest.userGroupId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteaccountusergroup description: Delete Account User Group call: rest-users.deleteaccountusergroup with: userGroupId: rest.userGroupId outputParameters: - type: object mapping: $. - path: /v1/account-user-groups/{userGroupId}/users/{userId} name: account-user-groups-usergroupid-users-userid description: REST surface for account-user-groups-usergroupid-users-userid. operations: - method: POST name: addusertoaccountusergroup description: Associate User to Group call: rest-users.addusertoaccountusergroup with: userId: rest.userId userGroupId: rest.userGroupId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuserfromaccountusergroup description: Delete User from Group call: rest-users.deleteuserfromaccountusergroup with: userId: rest.userId userGroupId: rest.userGroupId outputParameters: - type: object mapping: $. - type: mcp namespace: rest-users-mcp port: 9090 transport: http description: MCP adapter for Cvent REST APIs — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: cvent-getaccountusergroups description: List Account User Groups hints: readOnly: true destructive: false idempotent: true call: rest-users.getaccountusergroups with: filter: tools.filter outputParameters: - type: object mapping: $. - name: cvent-createaccountusergroup description: Create Account User Group hints: readOnly: false destructive: false idempotent: false call: rest-users.createaccountusergroup with: body: tools.body outputParameters: - type: object mapping: $. - name: cvent-getaccountusergroup description: Get Account User Group hints: readOnly: true destructive: false idempotent: true call: rest-users.getaccountusergroup with: userGroupId: tools.userGroupId outputParameters: - type: object mapping: $. - name: cvent-updateaccountusergroup description: Update Account User Group hints: readOnly: false destructive: false idempotent: true call: rest-users.updateaccountusergroup with: userGroupId: tools.userGroupId body: tools.body outputParameters: - type: object mapping: $. - name: cvent-deleteaccountusergroup description: Delete Account User Group hints: readOnly: false destructive: true idempotent: true call: rest-users.deleteaccountusergroup with: userGroupId: tools.userGroupId outputParameters: - type: object mapping: $. - name: cvent-addusertoaccountusergroup description: Associate User to Group hints: readOnly: false destructive: false idempotent: false call: rest-users.addusertoaccountusergroup with: userId: tools.userId userGroupId: tools.userGroupId body: tools.body outputParameters: - type: object mapping: $. - name: cvent-deleteuserfromaccountusergroup description: Delete User from Group hints: readOnly: false destructive: true idempotent: true call: rest-users.deleteuserfromaccountusergroup with: userId: tools.userId userGroupId: tools.userGroupId outputParameters: - type: object mapping: $.