DoiT · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for DoiT Customer Groups API

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

What the actions change

x-apievangelist-phrasing

Targets 12

$.info
$.paths['/rbac/v1/customer-groups'].get
$.paths['/rbac/v1/customer-groups'].post
$.paths['/rbac/v1/customer-groups/{customerGroupId}'].get
$.paths['/rbac/v1/customer-groups/{customerGroupId}'].delete
$.paths['/rbac/v1/customer-groups/{customerGroupId}'].patch
$.paths['/rbac/v1/customer-groups/{customerGroupId}/users'].get
$.paths['/rbac/v1/customer-groups/{customerGroupId}/users/{userId}'].put
$.paths['/rbac/v1/customer-groups/{customerGroupId}/users/{userId}'].delete
$.paths['/rbac/v1/customer-groups/{customerGroupId}/user-groups'].get
$.paths['/rbac/v1/customer-groups/{customerGroupId}/user-groups/{userGroupId}'].put
$.paths['/rbac/v1/customer-groups/{customerGroupId}/user-groups/{userGroupId}'].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 DoiT Customer Groups API
  version: 1.0.0
extends: openapi/doit-customer-groups-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 11
- target: $.paths['/rbac/v1/customer-groups'].get
  update:
    x-apievangelist-phrasing:
      intent: List customer groups
      effect: read
      questions:
      - Which customer groups exist in my tenant?
      - Can I see all customer groups I own?
      instructions:
      - text: List my customer groups.
      - text: Show every customer group in tenant {tenant}.
        slots:
          tenant: header.X-Tenant-Id
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a customer group
      effect: write
      questions:
      - How do I group a set of customers together?
      - Can I create a customer group from a list of customer IDs?
      instructions:
      - text: Create a customer group named {name} with members {memberCustomerIds}.
        slots:
          name: requestBody.name
          memberCustomerIds: requestBody.memberCustomerIds
      - text: Create customer group {name} for customers {memberCustomerIds}.
        slots:
          name: requestBody.name
          memberCustomerIds: requestBody.memberCustomerIds
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a customer group
      effect: read
      questions:
      - What customers are in a particular customer group?
      - Can I look up one customer group by ID?
      instructions:
      - text: Show customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      - text: Get the members of customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a customer group
      effect: destructive
      questions:
      - Can I delete a customer group that still has users assigned?
      - How do I remove a customer group?
      instructions:
      - text: Delete customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      - text: Remove the customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a customer group
      effect: write
      questions:
      - Can I rename a customer group?
      - How do I change which customers belong to a group?
      instructions:
      - text: Rename customer group {customerGroupId} to {name}.
        slots:
          customerGroupId: path.customerGroupId
          name: requestBody.name
      - text: Replace the members of customer group {customerGroupId} with {memberCustomerIds}.
        slots:
          customerGroupId: path.customerGroupId
          memberCustomerIds: requestBody.memberCustomerIds
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List users in a customer group
      effect: read
      questions:
      - Which users are assigned to a customer group?
      - Can I sort a customer group's users by user ID?
      instructions:
      - text: List the users in customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      - text: Show every user assigned to customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}/users/{userId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Assign a user to a customer group
      effect: write
      questions:
      - How do I add a single user to a customer group?
      - Can I put one user into a customer group?
      instructions:
      - text: Assign user {userId} to customer group {customerGroupId}.
        slots:
          userId: path.userId
          customerGroupId: path.customerGroupId
      - text: Add user {userId} to customer group {customerGroupId}.
        slots:
          userId: path.userId
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}/users/{userId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unassign a user from a customer group
      effect: destructive
      questions:
      - How do I remove a user from a customer group?
      - Can I take a single user out of a customer group?
      instructions:
      - text: Unassign user {userId} from customer group {customerGroupId}.
        slots:
          userId: path.userId
          customerGroupId: path.customerGroupId
      - text: Remove user {userId} from customer group {customerGroupId}.
        slots:
          userId: path.userId
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}/user-groups'].get
  update:
    x-apievangelist-phrasing:
      intent: List user groups assigned to a customer group
      effect: read
      questions:
      - Which user groups are assigned to a given customer group?
      - How do I check who belongs to a customer group?
      instructions:
      - text: List user groups assigned to customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      - text: Show the members of customer group {customerGroupId}.
        slots:
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}/user-groups/{userGroupId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Assign a user group to a customer group
      effect: write
      questions:
      - How do I give an entire user group access through a customer group?
      - Do membership changes in a user group carry over once it is assigned to a customer group?
      - Can I link a whole team's user group to a customer group instead of adding people one by one?
      instructions:
      - text: Assign the user group {userGroupId} to customer group {customerGroupId} so its whole team is covered.
        slots:
          userGroupId: path.userGroupId
          customerGroupId: path.customerGroupId
      - text: Link user group {userGroupId} with customer group {customerGroupId} as a group-level assignment.
        slots:
          userGroupId: path.userGroupId
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'
- target: $.paths['/rbac/v1/customer-groups/{customerGroupId}/user-groups/{userGroupId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Unassign a user group from a customer group
      effect: destructive
      questions:
      - How do I stop a whole user group from being tied to a customer group?
      - Can I detach a team's user group from a customer group without touching individual users?
      - What permission do I need to unlink a user group from a customer group?
      instructions:
      - text: Unassign the user group {userGroupId} from customer group {customerGroupId} as a group-level removal.
        slots:
          userGroupId: path.userGroupId
          customerGroupId: path.customerGroupId
      - text: Detach user group {userGroupId} from customer group {customerGroupId} so the team loses that link.
        slots:
          userGroupId: path.userGroupId
          customerGroupId: path.customerGroupId
      method: generated
      generated: '2026-11-24'

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/doit-customer-groups-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.