IBM · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for IBM Cloud IAM Policies API

7 actions 7 updates phrasing extends openapi/ibm-policies-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 7

$.info
$.paths['/v1/policies'].get
$.paths['/v1/policies'].post
$.paths['/v1/policies/{policy_id}'].get
$.paths['/v1/policies/{policy_id}'].put
$.paths['/v1/policies/{policy_id}'].delete
$.paths['/v1/policies/{policy_id}'].patch

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 Policies API
  version: 1.0.0
extends: openapi/ibm-policies-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: 6
- target: $.paths['/v1/policies'].get
  update:
    x-apievangelist-phrasing:
      intent: List access policies in an account
      effect: read
      questions:
      - Which access policies grant a user or service access to resources in my account?
      - Can I list only the policies that apply to a specific service type or access group?
      - What policies are currently active versus inactive in my account?
      instructions:
      - text: List access policies in account {account_id}.
        slots:
          account_id: query.account_id
      - text: Show {type} policies in account {account_id} for IAM ID {iam_id}.
        slots:
          type: query.type
          account_id: query.account_id
          iam_id: query.iam_id
      - text: List policies in account {account_id} for access group {access_group_id} with state {state}.
        slots:
          account_id: query.account_id
          access_group_id: query.access_group_id
          state: query.state
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v1/policies'].post
  update:
    x-apievangelist-phrasing:
      intent: Grant a subject access to resources
      effect: write
      questions:
      - How do I let an IBM Cloud service ID read some resources?
      - Can an access policy apply to more than one role and resource?
      - What subjects can I add to a new IAM policy?
      instructions:
      - text: Create a {type} policy granting {subjects} {roles} on {resources}.
        slots:
          type: requestBody.type
          subjects: requestBody.subjects
          roles: requestBody.roles
          resources: requestBody.resources
      - text: Define a policy of type {type} giving {subjects} access to {resources} with roles {roles}.
        slots:
          type: requestBody.type
          subjects: requestBody.subjects
          resources: requestBody.resources
          roles: requestBody.roles
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v1/policies/{policy_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an access policy
      effect: read
      questions:
      - What roles and resources does a specific policy grant?
      - Can I look up one access policy by its ID?
      instructions:
      - text: Get access policy {policy_id}.
        slots:
          policy_id: path.policy_id
      - text: Show the roles and resources defined in policy {policy_id}.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v1/policies/{policy_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an access policy
      effect: write
      questions:
      - How do I overwrite an existing policy with a new definition?
      - Does replacing a policy replace every field or just some of them?
      instructions:
      - text: Replace policy {policy_id} with {type} type, subjects {subjects}, roles {roles}, resources {resources}.
        slots:
          policy_id: path.policy_id
          type: requestBody.type
          subjects: requestBody.subjects
          roles: requestBody.roles
          resources: requestBody.resources
      - text: Overwrite the full definition of policy {policy_id} using ETag {etag}.
        slots:
          policy_id: path.policy_id
          etag: header.If-Match
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v1/policies/{policy_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an access policy
      effect: destructive
      questions:
      - How do I revoke a user's access by deleting their policy?
      - Can a deleted policy be restored?
      instructions:
      - text: Delete access policy {policy_id}.
        slots:
          policy_id: path.policy_id
      - text: Revoke the access granted by policy {policy_id}.
        slots:
          policy_id: path.policy_id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/v1/policies/{policy_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Activate or deactivate a policy
      effect: write
      questions:
      - How do I temporarily turn off a policy without deleting it?
      - Can I reactivate a deactivated policy?
      instructions:
      - text: Set policy {policy_id} to state {state}.
        slots:
          policy_id: path.policy_id
          state: requestBody.state
      - text: Deactivate policy {policy_id} using ETag {etag}.
        slots:
          policy_id: path.policy_id
          etag: header.If-Match
      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-policies-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.