Discourse · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Discourse API Documentation Admin API
12 actions
12 updates
phrasing
extends
openapi/discourse-admin-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Discourse's API. It is a proposal applied on top of the contract, not a document Discourse publishes.
What the actions change
x-apievangelist-phrasing
Targets 12
$.info
$.paths['/admin/users/{id}.json'].get
$.paths['/admin/users/{id}.json'].delete
$.paths['/admin/users/{id}/activate.json'].put
$.paths['/admin/users/{id}/deactivate.json'].put
$.paths['/admin/users/{id}/suspend.json'].put
$.paths['/admin/users/{id}/silence.json'].put
$.paths['/admin/users/{id}/anonymize.json'].put
$.paths['/admin/users/{id}/log_out.json'].post
$.paths['/user_avatar/{username}/refresh_gravatar.json'].post
$.paths['/admin/users.json'].get
$.paths['/admin/users/list/{flag}.json'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Discourse API Documentation Admin API
version: 1.0.0
extends: openapi/discourse-admin-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-18'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 11
- target: $.paths['/admin/users/{id}.json'].get
update:
x-apievangelist-phrasing:
intent: Get a user's profile
effect: read
questions:
- How do I look up a user's profile by ID?
- Can I fetch a single user's details from the admin API?
instructions:
- text: Get user {id}.
slots:
id: path.id
- text: Show the profile of user {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}.json'].delete
update:
x-apievangelist-phrasing:
intent: Delete a user account
effect: destructive
questions:
- How do I permanently delete a user account?
- Can I delete a user and remove their posts too?
instructions:
- text: Delete user {id}.
slots:
id: path.id
- text: Delete user {id} and remove their posts ({delete_posts}).
slots:
id: path.id
delete_posts: requestBody.delete_posts
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/activate.json'].put
update:
x-apievangelist-phrasing:
intent: Activate a deactivated user
effect: write
questions:
- How do I reactivate a user who was deactivated?
- Can I turn a suspended user back on?
instructions:
- text: Activate user {id}.
slots:
id: path.id
- text: Reactivate the deactivated account {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/deactivate.json'].put
update:
x-apievangelist-phrasing:
intent: Deactivate a user account
effect: write
questions:
- How do I deactivate a user account?
- Can I temporarily disable a user without deleting them?
instructions:
- text: Deactivate user {id}.
slots:
id: path.id
- text: Disable the account {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/suspend.json'].put
update:
x-apievangelist-phrasing:
intent: Suspend a user for a set time
effect: write
questions:
- How do I suspend a user for a limited period?
- Can I suspend a user with a reason and a message?
instructions:
- text: Suspend user {id} until {suspend_until} because {reason}.
slots:
id: path.id
suspend_until: requestBody.suspend_until
reason: requestBody.reason
- text: Suspend {id} until {suspend_until} with reason {reason} and message {message}.
slots:
id: path.id
suspend_until: requestBody.suspend_until
reason: requestBody.reason
message: requestBody.message
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/silence.json'].put
update:
x-apievangelist-phrasing:
intent: Silence a user for a set time
effect: write
questions:
- How do I silence a user so they can't post?
- Can I silence a user until a certain date?
instructions:
- text: Silence user {id} until {silenced_till} because {reason}.
slots:
id: path.id
silenced_till: requestBody.silenced_till
reason: requestBody.reason
- text: Mute {id} until {silenced_till} with reason {reason}.
slots:
id: path.id
silenced_till: requestBody.silenced_till
reason: requestBody.reason
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/anonymize.json'].put
update:
x-apievangelist-phrasing:
intent: Anonymize a user's profile
effect: destructive
questions:
- How do I anonymize a user's profile?
- Can I scrub a user's name and email while keeping their posts?
instructions:
- text: Anonymize user {id}.
slots:
id: path.id
- text: Scrub the profile of user {id}.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/{id}/log_out.json'].post
update:
x-apievangelist-phrasing:
intent: Log a user out of all sessions
effect: destructive
questions:
- How do I force a user to log out everywhere?
- Can I revoke a user's sessions?
instructions:
- text: Log out user {id}.
slots:
id: path.id
- text: Force user {id} to log out of all sessions.
slots:
id: path.id
method: generated
generated: '2026-11-18'
- target: $.paths['/user_avatar/{username}/refresh_gravatar.json'].post
update:
x-apievangelist-phrasing:
intent: Refresh a user's Gravatar
effect: write
questions:
- How do I refresh a user's avatar from Gravatar?
- Can I force Discourse to reload a user's profile picture?
instructions:
- text: Refresh the Gravatar for {username}.
slots:
username: path.username
- text: Reload profile picture {username} from Gravatar.
slots:
username: path.username
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users.json'].get
update:
x-apievangelist-phrasing:
intent: List all users
effect: read
questions:
- How do I get a list of all users?
- Can I list users and include their email addresses?
instructions:
- text: List all users.
- text: List users with email addresses {show_emails}.
slots:
show_emails: query.show_emails
method: generated
generated: '2026-11-18'
- target: $.paths['/admin/users/list/{flag}.json'].get
update:
x-apievangelist-phrasing:
intent: List users with a flag
effect: read
questions:
- How do I list users who have a particular flag?
- Can I filter users by flag and sort them?
instructions:
- text: List users with flag {flag}.
slots:
flag: path.flag
- text: Show {flag} users sorted by {order}.
slots:
flag: path.flag
order: query.order
method: generated
generated: '2026-11-18'
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/discourse-admin-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.