Portainer · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for PortainerCE Users API

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

What the actions change

x-apievangelist-phrasing

Targets 14

$.info
$.paths['/users'].get
$.paths['/users'].post
$.paths['/users/{id}'].get
$.paths['/users/{id}'].put
$.paths['/users/{id}'].delete
$.paths['/users/{id}/memberships'].get
$.paths['/users/{id}/passwd'].put
$.paths['/users/{id}/tokens'].get
$.paths['/users/{id}/tokens'].post
$.paths['/users/{id}/tokens/{keyID}'].delete
$.paths['/users/admin/check'].get
$.paths['/users/admin/init'].post
$.paths['/users/me'].get

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 PortainerCE Users API
  version: 1.0.0
extends: openapi/portainer-users-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: 13
- target: $.paths['/users'].get
  update:
    x-apievangelist-phrasing:
      intent: List Portainer users
      effect: read
      questions:
      - Who are the users in my Portainer instance?
      - Can a non-administrator list only other non-admin users?
      instructions:
      - text: List all Portainer users.
      - text: List users in environment {environmentId}.
        slots:
          environmentId: query.environmentId
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a Portainer user
      effect: write
      questions:
      - How do I add a new user to Portainer?
      - Can only administrators create users?
      instructions:
      - text: Create user {Username} with password {Password} and role {Role}.
        slots:
          Username: requestBody.Username
          Password: requestBody.Password
          Role: requestBody.Role
      - text: Add a new Portainer user {Username} as {Role} using {Password}.
        slots:
          Username: requestBody.Username
          Role: requestBody.Role
          Password: requestBody.Password
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Inspect a Portainer user
      effect: read
      questions:
      - What role and theme does a given user have?
      - Can I see one user's details by ID?
      instructions:
      - text: Show user {id}.
        slots:
          id: path.id
      - text: Get the details of Portainer user {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a Portainer user's details
      effect: write
      questions:
      - How do I change a user's theme or role?
      - Can a regular user change their own username?
      instructions:
      - text: Update user {id} to username {Username}, role {Role}, password {Password}, new password {NewPassword}, theme {Theme}, use cache {UseCache}.
        slots:
          id: path.id
          Username: requestBody.Username
          Role: requestBody.Role
          Password: requestBody.Password
          NewPassword: requestBody.NewPassword
          Theme: requestBody.Theme
          UseCache: requestBody.UseCache
      - text: Change the role of user {id} to {Role}.
        slots:
          id: path.id
          Role: requestBody.Role
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove a Portainer user
      effect: destructive
      questions:
      - How do I delete a user from Portainer?
      - Who is allowed to remove a user?
      instructions:
      - text: Remove user {id}.
        slots:
          id: path.id
      - text: Delete Portainer user {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}/memberships'].get
  update:
    x-apievangelist-phrasing:
      intent: List a user's memberships
      effect: read
      questions:
      - Which environments and stacks does a user have access to?
      - What memberships does a user hold?
      instructions:
      - text: Show memberships for user {id}.
        slots:
          id: path.id
      - text: List the environment memberships of Portainer user {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}/passwd'].put
  update:
    x-apievangelist-phrasing:
      intent: Change a user's password
      effect: write
      questions:
      - How do I reset a user's password?
      - What do I need to know to change a user's password?
      instructions:
      - text: Change the password of user {id} from {Password} to {NewPassword}.
        slots:
          id: path.id
          Password: requestBody.Password
          NewPassword: requestBody.NewPassword
      - text: Set user {id}'s new password to {NewPassword}.
        slots:
          id: path.id
          NewPassword: requestBody.NewPassword
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}/tokens'].get
  update:
    x-apievangelist-phrasing:
      intent: List a user's API keys
      effect: read
      questions:
      - What API keys exist for a user?
      - Can I see all tokens a user has generated?
      instructions:
      - text: List API keys for user {id}.
        slots:
          id: path.id
      - text: Show every token user {id} has.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}/tokens'].post
  update:
    x-apievangelist-phrasing:
      intent: Generate an API key for a user
      effect: write
      questions:
      - How do I generate a new API key for a user?
      - Can a user generate their own API key?
      instructions:
      - text: Generate an API key for user {id} described as {description} with password {password}.
        slots:
          id: path.id
          description: requestBody.description
          password: requestBody.password
      - text: Create a new token for user {id} using {password} and description {description}.
        slots:
          id: path.id
          password: requestBody.password
          description: requestBody.description
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/{id}/tokens/{keyID}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Revoke a user's API key
      effect: destructive
      questions:
      - How do I revoke a user's API key?
      - Can a user remove their own token?
      instructions:
      - text: Remove API key {keyID} from user {id}.
        slots:
          keyID: path.keyID
          id: path.id
      - text: Revoke token {keyID} for Portainer user {id}.
        slots:
          keyID: path.keyID
          id: path.id
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/admin/check'].get
  update:
    x-apievangelist-phrasing:
      intent: Check whether an admin exists
      effect: read
      questions:
      - Is there already an administrator account in Portainer?
      - How do I check admin account existence before initializing one?
      instructions:
      - text: Check whether an administrator account exists.
      - text: Tell me if an admin user is already in the database.
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/admin/init'].post
  update:
    x-apievangelist-phrasing:
      intent: Initialize the admin account
      effect: write
      questions:
      - How do I create the initial admin user?
      - What credentials does the first admin account need?
      instructions:
      - text: Initialize the admin account with username {Username} and password {Password}.
        slots:
          Username: requestBody.Username
          Password: requestBody.Password
      - text: Create the first Portainer administrator user {Username} using {Password}.
        slots:
          Username: requestBody.Username
          Password: requestBody.Password
      method: generated
      generated: '2026-11-19'
- target: $.paths['/users/me'].get
  update:
    x-apievangelist-phrasing:
      intent: Inspect the current user
      effect: read
      questions:
      - What role and theme does the user I'm logged in as have?
      - Can I see my own user details?
      instructions:
      - text: Show the current user's details.
      - text: Get my own Portainer user account.
      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/portainer-users-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.