naftiko: 1.0.0-alpha2 info: label: Dynatrace Account Management API — Groups description: 'Dynatrace Account Management API — Groups. 5 operations. Lead operation: Dynatrace List Groups. Self-contained Naftiko capability covering one Dynatrace business surface.' tags: - Dynatrace - Groups created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DYNATRACE_API_KEY: DYNATRACE_API_KEY capability: consumes: - type: http namespace: account-management-groups baseUri: https://api.dynatrace.com description: Dynatrace Account Management API — Groups business capability. Self-contained, no shared references. resources: - name: iam-v1-accounts-accountUuid-groups path: /iam/v1/accounts/{accountUuid}/groups operations: - name: listgroups method: GET description: Dynatrace List Groups outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: nextPageKey in: query type: string description: Cursor for the next page of results. - name: pageSize in: query type: integer description: The number of groups to return per page. - name: creategroup method: POST description: Dynatrace Create Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: iam-v1-accounts-accountUuid-groups-groupId path: /iam/v1/accounts/{accountUuid}/groups/{groupId} operations: - name: getgroup method: GET description: Dynatrace Get Group outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updategroup method: PUT description: Dynatrace Update Group outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deletegroup method: DELETE description: Dynatrace Delete Group outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DYNATRACE_API_KEY}}' exposes: - type: rest namespace: account-management-groups-rest port: 8080 description: REST adapter for Dynatrace Account Management API — Groups. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/iam/v1/accounts/{accountuuid}/groups name: iam-v1-accounts-accountuuid-groups description: REST surface for iam-v1-accounts-accountUuid-groups. operations: - method: GET name: listgroups description: Dynatrace List Groups call: account-management-groups.listgroups with: nextPageKey: rest.nextPageKey pageSize: rest.pageSize outputParameters: - type: object mapping: $. - method: POST name: creategroup description: Dynatrace Create Group call: account-management-groups.creategroup with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/iam/v1/accounts/{accountuuid}/groups/{groupid} name: iam-v1-accounts-accountuuid-groups-groupid description: REST surface for iam-v1-accounts-accountUuid-groups-groupId. operations: - method: GET name: getgroup description: Dynatrace Get Group call: account-management-groups.getgroup outputParameters: - type: object mapping: $. - method: PUT name: updategroup description: Dynatrace Update Group call: account-management-groups.updategroup with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletegroup description: Dynatrace Delete Group call: account-management-groups.deletegroup outputParameters: - type: object mapping: $. - type: mcp namespace: account-management-groups-mcp port: 9090 transport: http description: MCP adapter for Dynatrace Account Management API — Groups. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dynatrace-list-groups description: Dynatrace List Groups hints: readOnly: true destructive: false idempotent: true call: account-management-groups.listgroups with: nextPageKey: tools.nextPageKey pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: dynatrace-create-group description: Dynatrace Create Group hints: readOnly: false destructive: false idempotent: false call: account-management-groups.creategroup with: body: tools.body outputParameters: - type: object mapping: $. - name: dynatrace-get-group description: Dynatrace Get Group hints: readOnly: true destructive: false idempotent: true call: account-management-groups.getgroup outputParameters: - type: object mapping: $. - name: dynatrace-update-group description: Dynatrace Update Group hints: readOnly: false destructive: false idempotent: true call: account-management-groups.updategroup with: body: tools.body outputParameters: - type: object mapping: $. - name: dynatrace-delete-group description: Dynatrace Delete Group hints: readOnly: false destructive: true idempotent: true call: account-management-groups.deletegroup outputParameters: - type: object mapping: $.