IBM · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for IBM Cloud IAM Roles API

6 actions 6 updates phrasing extends openapi/ibm-roles-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for IBM's API. It is a proposal applied on top of the contract, not a document IBM publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/v2/roles'].get
$.paths['/v2/roles'].post
$.paths['/v2/roles/{role_id}'].get
$.paths['/v2/roles/{role_id}'].put
$.paths['/v2/roles/{role_id}'].delete

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for IBM Cloud IAM Roles API
  version: 1.0.0
extends: openapi/ibm-roles-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-19'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/v2/roles'].get
  update:
    x-apievangelist-phrasing:
      intent: List IAM roles
      effect: read
      questions:
      - Which roles are defined in my account?
      - Can I list only the roles for one service?
      instructions:
      - text: List all roles in account {account_id}.
        slots:
          account_id: query.account_id
      - text: List roles for service {service_name}.
        slots:
          service_name: query.service_name
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/roles'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a custom role
      effect: write
      questions:
      - How do I define a custom role with specific actions for a service?
      - Can I create a role that extends a built-in platform role?
      instructions:
      - text: Create custom role {name} in {service_name} for account {account_id} with actions {actions}.
        slots:
          name: requestBody.name
          service_name: requestBody.service_name
          account_id: requestBody.account_id
          actions: requestBody.actions
      - text: Add a custom role {name} named {display_name} to {service_name} in account {account_id}.
        slots:
          name: requestBody.name
          display_name: requestBody.display_name
          service_name: requestBody.service_name
          account_id: requestBody.account_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/roles/{role_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a role
      effect: read
      questions:
      - What actions does a particular role grant?
      - Can I look up one role by its ID?
      instructions:
      - text: Show role {role_id}.
        slots:
          role_id: path.role_id
      - text: Get the details of role {role_id}.
        slots:
          role_id: path.role_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/roles/{role_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a custom role
      effect: write
      questions:
      - How do I change the actions on an existing custom role?
      - Can I update a role only if nobody else changed it?
      instructions:
      - text: Replace role {role_id} with actions {actions}, name {name}, display {display_name}, service {service_name}, account {account_id}.
        slots:
          role_id: path.role_id
          actions: requestBody.actions
          name: requestBody.name
          display_name: requestBody.display_name
          service_name: requestBody.service_name
          account_id: requestBody.account_id
      - text: Update role {role_id} in account {account_id} to grant {actions}.
        slots:
          role_id: path.role_id
          account_id: requestBody.account_id
          actions: requestBody.actions
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v2/roles/{role_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom role
      effect: destructive
      questions:
      - How do I remove a custom role I no longer need?
      - Can I delete a system-defined role?
      instructions:
      - text: Delete role {role_id}.
        slots:
          role_id: path.role_id
      - text: Remove custom role {role_id} from account {account_id}.
        slots:
          role_id: path.role_id
          account_id: path.role_id
      method: generated
      generated: '2026-11-19'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/ibm-roles-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.