Incentivio Role Module Permission Controller API

The role-module-permission-controller API from Incentivio — 6 operation(s) for role-module-permission-controller.

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /incentivio-client-domain/clients/{clientid}/updaterole Update a client role · Update role #
Ask an LLM
“How do I change the modules or description of an existing role?”
“Can I deactivate a role without deleting it?”
Tell an agent
Update role {id} for client {clientid} with modules {modules}.
Set role {id} in client {clientid} to active {active}.
POST /incentivio-client-domain/clients/{clientid}/createrole Create a client role · Create role #
Ask an LLM
“How do I create a new role with specific modules for a client?”
“Can I make a new role inactive when I create it?”
Tell an agent
Create role {role} in client {clientid} with modules {modules}.
Add a new {role} role to client {clientid} that is active {active}.
GET /incentivio-client-domain/clients/{clientid}/searchroles Search a client's roles · Search roles #
Ask an LLM
“Which roles exist for a particular user in my client?”
“Can I list all roles in a client, including deleted ones?”
Tell an agent
Find roles in client {clientid} for user {userid}.
List roles in client {clientid} matching {role}.
GET /incentivio-client-domain/clients/{clientid}/searchpermissions List a client's permissions · Find permissions #
Ask an LLM
“What permissions are available to assign to roles in my client?”
“Which permission names does the client's role module support?”
Tell an agent
List the permissions for client {clientid}.
Show every permission available in client {clientid}.
GET /incentivio-client-domain/clients/{clientid}/findrole/{roleid} Get a client role · Find role #
Ask an LLM
“How do I look up one role by its ID in a client?”
“What modules and description does a specific role have?”
Tell an agent
Get role {roleid} in client {clientid}.
Show the modules of role {roleid} for client {clientid}.
DELETE /incentivio-client-domain/clients/{clientid}/deleterole/{roleid} Delete a client role · Delete role #
Ask an LLM
“How do I remove a role from a client?”
“Can I delete a role that is no longer used?”
Tell an agent destructive · confirm first
Delete role {roleid} from client {clientid}.
Remove the {roleid} role in client {clientid}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/incentivio:incentivio-role-module-permission-controller-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

incentivio-role-module-permission-controller-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenAPI definition Role Module Permission Controller API
  version: v0
servers:
- url: https://adminapi.incentivio.com/incentivio-admin-api
  description: Generated server url
tags:
- name: role-module-permission-controller
paths:
  /incentivio-client-domain/clients/{clientid}/updaterole:
    put:
      tags:
      - role-module-permission-controller
      operationId: updateRole
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRoleRequestDTO'
        required: true
      responses:
        '200':
          description: OK
      summary: Update role
      x-summary-source: derived
  /incentivio-client-domain/clients/{clientid}/createrole:
    post:
      tags:
      - role-module-permission-controller
      operationId: createRole
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRoleRequestDTO'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/CreateRoleResponseDTO'
      summary: Create role
      x-summary-source: derived
  /incentivio-client-domain/clients/{clientid}/searchroles:
    get:
      tags:
      - role-module-permission-controller
      operationId: searchRoles
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 0
      - name: count
        in: query
        required: false
        schema:
          type: integer
          format: int32
          default: 100
      - name: sortby
        in: query
        required: false
        schema:
          type: string
          default: role
      - name: sortdirection
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/Direction'
          default: ASC
      - name: userid
        in: query
        required: false
        schema:
          type: string
      - name: role
        in: query
        required: false
        schema:
          type: string
      - name: showAll
        in: query
        required: false
        schema:
          type: boolean
          default: false
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SearchRolesResponseDTO'
      summary: Search roles
      x-summary-source: derived
  /incentivio-client-domain/clients/{clientid}/searchpermissions:
    get:
      tags:
      - role-module-permission-controller
      operationId: findPermissions
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/SearchModulesResponseDTO'
      summary: Find permissions
      x-summary-source: derived
  /incentivio-client-domain/clients/{clientid}/findrole/{roleid}:
    get:
      tags:
      - role-module-permission-controller
      operationId: findRole
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      - name: roleid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/RoleDTO'
      summary: Find role
      x-summary-source: derived
  /incentivio-client-domain/clients/{clientid}/deleterole/{roleid}:
    delete:
      tags:
      - role-module-permission-controller
      operationId: deleteRole
      parameters:
      - name: Inc-Client-Id
        in: header
        required: true
        schema:
          type: string
      - name: clientid
        in: path
        required: true
        schema:
          type: string
      - name: roleid
        in: path
        required: true
        schema:
          type: integer
          format: int32
      responses:
        '200':
          description: OK
      summary: Delete role
      x-summary-source: derived
components:
  schemas:
    PagingDto:
      type: object
      properties:
        count:
          type: integer
          format: int32
        currentPage:
          type: integer
          format: int32
        total:
          type: integer
          format: int64
        totalPages:
          type: integer
          format: int64
    CreateRoleResponseDTO:
      type: object
      properties:
        id:
          type: string
    ModuleDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        name:
          type: string
        description:
          type: string
        order:
          type: integer
          format: int32
        roleModulePermissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionDTO'
        allPermissions:
          type: array
          items:
            $ref: '#/components/schemas/PermissionDTO'
        active:
          type: boolean
        deleted:
          type: boolean
    RoleDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        role:
          type: string
        description:
          type: string
        modules:
          type: array
          items:
            $ref: '#/components/schemas/ModuleDTO'
        active:
          type: boolean
        deleted:
          type: boolean
    SearchRolesResponseDTO:
      type: object
      properties:
        roles:
          type: array
          items:
            $ref: '#/components/schemas/RoleDTO'
        paging:
          $ref: '#/components/schemas/PagingDto'
    Direction:
      type: string
      enum:
      - ASC
      - DESC
    CreateRoleRequestDTO:
      type: object
      properties:
        role:
          type: string
        description:
          type: string
        modules:
          type: array
          items:
            $ref: '#/components/schemas/ModuleDTO'
        active:
          type: boolean
        deleted:
          type: boolean
      required:
      - modules
      - role
    PermissionDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        permission:
          type: string
        description:
          type: string
        moduleID:
          type: integer
          format: int64
        active:
          type: boolean
        deleted:
          type: boolean
    UpdateRoleRequestDTO:
      type: object
      properties:
        id:
          type: integer
          format: int64
        role:
          type: string
        description:
          type: string
        modules:
          type: array
          items:
            $ref: '#/components/schemas/ModuleDTO'
        active:
          type: boolean
        deleted:
          type: boolean
      required:
      - id
    SearchModulesResponseDTO:
      type: object
      properties:
        modules:
          type: array
          items:
            $ref: '#/components/schemas/ModuleDTO'