Cumulocity · Capability

Cumulocity User API — Roles

List the global roles available in Cumulocity for assignment to users and groups.

Cumulocity User API — Roles is a Naftiko capability published by Cumulocity, one of 31 capabilities the APIs.io network indexes for this provider. It bundles 1 operation.

The capability includes 1 read-only operation. Lead operation: List Cumulocity global roles available for assignment. Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Tagged areas include Cumulocity, Roles, and RBAC.

Run with Naftiko CumulocityRolesRBAC

MCP Tools

cumulocity-list-roles

List Cumulocity global roles available for assignment.

read-only idempotent

Capability Spec

user-roles.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Cumulocity User API — Roles
  description: List the global roles available in Cumulocity for assignment to users and groups.
  tags: [Cumulocity, Roles, RBAC]
  created: '2026-05-25'
  modified: '2026-05-25'
binds:
- namespace: env
  keys:
    C8Y_BASE_URL: C8Y_BASE_URL
    C8Y_USER: C8Y_USER
    C8Y_PASSWORD: C8Y_PASSWORD
capability:
  consumes:
  - type: http
    namespace: user-roles
    baseUri: '{{env.C8Y_BASE_URL}}'
    resources:
    - name: roles
      path: /user/roles
      operations:
      - name: listroles
        method: GET
        description: List Global Roles
    authentication:
      type: basic
      username: '{{env.C8Y_USER}}'
      password: '{{env.C8Y_PASSWORD}}'
  exposes:
  - type: mcp
    namespace: user-roles-mcp
    port: 9090
    transport: http
    tools:
    - name: cumulocity-list-roles
      description: List Cumulocity global roles available for assignment.
      hints: {readOnly: true, destructive: false, idempotent: true}
      call: user-roles.listroles
      with: {}