naftiko: 1.0.0-alpha2 info: label: Dynatrace Account Management API — Users description: 'Dynatrace Account Management API — Users. 5 operations. Lead operation: Dynatrace List Users. Self-contained Naftiko capability covering one Dynatrace business surface.' tags: - Dynatrace - Users 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-users baseUri: https://api.dynatrace.com description: Dynatrace Account Management API — Users business capability. Self-contained, no shared references. resources: - name: iam-v1-accounts-accountUuid-users path: /iam/v1/accounts/{accountUuid}/users operations: - name: listusers method: GET description: Dynatrace List Users 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 users to return per page. - name: createuser method: POST description: Dynatrace Create User 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-users-userId path: /iam/v1/accounts/{accountUuid}/users/{userId} operations: - name: getuser method: GET description: Dynatrace Get User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateuser method: PUT description: Dynatrace Update User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteuser method: DELETE description: Dynatrace Delete User outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DYNATRACE_API_KEY}}' exposes: - type: rest namespace: account-management-users-rest port: 8080 description: REST adapter for Dynatrace Account Management API — Users. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/iam/v1/accounts/{accountuuid}/users name: iam-v1-accounts-accountuuid-users description: REST surface for iam-v1-accounts-accountUuid-users. operations: - method: GET name: listusers description: Dynatrace List Users call: account-management-users.listusers with: nextPageKey: rest.nextPageKey pageSize: rest.pageSize outputParameters: - type: object mapping: $. - method: POST name: createuser description: Dynatrace Create User call: account-management-users.createuser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/iam/v1/accounts/{accountuuid}/users/{userid} name: iam-v1-accounts-accountuuid-users-userid description: REST surface for iam-v1-accounts-accountUuid-users-userId. operations: - method: GET name: getuser description: Dynatrace Get User call: account-management-users.getuser outputParameters: - type: object mapping: $. - method: PUT name: updateuser description: Dynatrace Update User call: account-management-users.updateuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteuser description: Dynatrace Delete User call: account-management-users.deleteuser outputParameters: - type: object mapping: $. - type: mcp namespace: account-management-users-mcp port: 9090 transport: http description: MCP adapter for Dynatrace Account Management API — Users. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: dynatrace-list-users description: Dynatrace List Users hints: readOnly: true destructive: false idempotent: true call: account-management-users.listusers with: nextPageKey: tools.nextPageKey pageSize: tools.pageSize outputParameters: - type: object mapping: $. - name: dynatrace-create-user description: Dynatrace Create User hints: readOnly: false destructive: false idempotent: false call: account-management-users.createuser with: body: tools.body outputParameters: - type: object mapping: $. - name: dynatrace-get-user description: Dynatrace Get User hints: readOnly: true destructive: false idempotent: true call: account-management-users.getuser outputParameters: - type: object mapping: $. - name: dynatrace-update-user description: Dynatrace Update User hints: readOnly: false destructive: false idempotent: true call: account-management-users.updateuser with: body: tools.body outputParameters: - type: object mapping: $. - name: dynatrace-delete-user description: Dynatrace Delete User hints: readOnly: false destructive: true idempotent: true call: account-management-users.deleteuser outputParameters: - type: object mapping: $.