Heroic Labs Console API

The Console API from Heroic Labs — 73 operation(s) for console.

Operations 92

GET /v2/console/account List (and optionally filter) accounts. #
DELETE /v2/console/account Delete (non-recorded) all user accounts. #
POST /v2/console/account Import given account export data, creating a new account that fully matches the data. #
GET /v2/console/account/{account_id}/note #
POST /v2/console/account/{account_id}/note #
DELETE /v2/console/account/{account_id}/note/{note_id} #
GET /v2/console/account/{account_id}/wallet Get a list of the user's wallet transactions. #
GET /v2/console/account/{id} Get detailed account information for a single user. #
DELETE /v2/console/account/{id} Delete all information stored for a user account. #
POST /v2/console/account/{id} Update one or more fields on a user account. #
POST /v2/console/account/{id}/ban Ban a user. #
GET /v2/console/account/{id}/export Export all information stored about a user account. #
GET /v2/console/account/{id}/friend Get a user's list of friend relationships. #
DELETE /v2/console/account/{id}/friend/{friend_id} Delete the friend relationship between two users. #
GET /v2/console/account/{id}/group Get a list of groups the user is a member of. #
DELETE /v2/console/account/{id}/group/{group_id} Remove a user from a group. #
PUT /v2/console/account/{id}/import Import given account export data, overwriting the user account's current state. #
POST /v2/console/account/{id}/unban Unban a user. #
POST /v2/console/account/{id}/unlink/apple Unlink the Apple ID from a user account. #
POST /v2/console/account/{id}/unlink/custom Unlink the custom ID from a user account. #
POST /v2/console/account/{id}/unlink/device Unlink the device ID from a user account. #
POST /v2/console/account/{id}/unlink/email Unlink the email from a user account. #
POST /v2/console/account/{id}/unlink/facebook Unlink the Facebook ID from a user account. #
POST /v2/console/account/{id}/unlink/facebookinstantgame Unlink the Facebook Instant Game ID from a user account. #
POST /v2/console/account/{id}/unlink/gamecenter Unlink the Game Center ID from a user account. #
POST /v2/console/account/{id}/unlink/google Unlink the Google ID from a user account. #
POST /v2/console/account/{id}/unlink/steam Unlink the Steam ID from a user account. #
DELETE /v2/console/account/{id}/wallet/{wallet_id} Delete a wallet ledger item. #
GET /v2/console/acl/template #
POST /v2/console/acl/template #
DELETE /v2/console/acl/template/{id} #
PUT /v2/console/acl/template/{id} #
DELETE /v2/console/all Deletes all data #
GET /v2/console/api/endpoints API Explorer - list all endpoints #
POST /v2/console/api/endpoints/rpc/{method} API Explorer - call a custom RPC endpoint #
POST /v2/console/api/endpoints/{method} API Explorer - call an endpoint #
GET /v2/console/audit/log List audit log entries with the selected filter #
GET /v2/console/audit/log/users List console usernames that can be used to filter the audit logs #
POST /v2/console/authenticate Authenticate a console user with username and password. #
POST /v2/console/authenticate/logout Log out a session and invalidate the session token. #
POST /v2/console/authenticate/mfa Change an account's MFA using a code, usually delivered over email. #
POST /v2/console/authenticate/password_change Change an account's password using a code, usually delivered over email. #
GET /v2/console/channel List channel messages with the selected filter #
GET /v2/console/config Get server config and configuration warnings. #
GET /v2/console/extensions #
GET /v2/console/group List (and optionally filter) groups. #
POST /v2/console/group/{group_id}/account/{id}/demote Demote a user from a group. #
POST /v2/console/group/{group_id}/account/{id}/promote Promote a user from a group. #
POST /v2/console/group/{group_id}/add Add/join members to a group. #
GET /v2/console/group/{id} Get detailed group information. #
DELETE /v2/console/group/{id} Remove a group. #
POST /v2/console/group/{id} Update one or more fields on a group. #
GET /v2/console/group/{id}/export Export all information stored about a group. #
GET /v2/console/group/{id}/member Get a list of members of the group. #
GET /v2/console/iap/purchase/{transaction_id} Get purchase by transaction_id #
GET /v2/console/iap/subscription/{original_transaction_id} Get subscription by original_transaction_id #
GET /v2/console/leaderboard List leaderboards #
GET /v2/console/leaderboard/{id} Get leaderboard. #
DELETE /v2/console/leaderboard/{id} Delete leaderboard #
DELETE /v2/console/leaderboard/{id}/owner/{owner_id} Delete leaderboard record #
GET /v2/console/leaderboard/{leaderboard_id}/records List leaderboard records. #
GET /v2/console/match List ongoing matches #
GET /v2/console/match/{id}/state Get current state of a running match #
DELETE /v2/console/message Delete messages. #
GET /v2/console/notification List notifications. #
POST /v2/console/notification Send a notification. #
GET /v2/console/notification/{id} Get a notification by id. #
DELETE /v2/console/notification/{id} Delete notification #
GET /v2/console/purchase List validated purchases #
GET /v2/console/runtime Get runtime info #
POST /v2/console/satori/direct-message #
GET /v2/console/satori/template #
GET /v2/console/setting List settings #
GET /v2/console/setting/{name} Get console settings. #
POST /v2/console/setting/{name} Update an existing setting. #
GET /v2/console/status Get current status data for all nodes. #
GET /v2/console/storage List (and optionally filter) storage data. #
DELETE /v2/console/storage Delete all storage data. #
GET /v2/console/storage/collections List storage collections #
GET /v2/console/storage/{collection}/{key}/{user_id} Get a storage object. #
DELETE /v2/console/storage/{collection}/{key}/{user_id} Delete a storage object. #
PUT /v2/console/storage/{collection}/{key}/{user_id} Write a new storage object or replace an existing one. #
DELETE /v2/console/storage/{collection}/{key}/{user_id}/{version} Delete a storage object. #
GET /v2/console/subscription List validated subscriptions #
GET /v2/console/user List (and optionally filter) users. #
DELETE /v2/console/user Delete console user. #
POST /v2/console/user Add a new console user. #
GET /v2/console/user/{username} #
PUT /v2/console/user/{username} Update a console user. #
POST /v2/console/user/{username}/mfa/require Sets the user's MFA as required or not required. #
POST /v2/console/user/{username}/mfa/reset Reset a user's multi-factor authentication credentials. #
POST /v2/console/user/{username}/reset/password Reset a user's password. #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/heroiclabs-console-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

heroiclabs-console-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Heroiclabs Console API
  version: '2.0'
  contact:
    name: The Nakama Authors & Contributors
    url: https://github.com/heroiclabs/nakama
    email: hello@heroiclabs.com
  description: 'Operations tagged Console across 2 of this provider''s published API definitions: heroiclabs-nakama-console-api-openapi.yml, heroiclabs-nakama-console-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: http://127.0.0.1:7351
security:
- BearerJwt: []
tags:
- name: Console
paths:
  /v2/console/account:
    get:
      summary: List (and optionally filter) accounts.
      operationId: ListAccounts
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: filter
        description: User ID or username filter.
        in: query
        required: false
        schema:
          type: string
      - name: tombstones
        description: Search only recorded deletes.
        in: query
        required: false
        schema:
          type: boolean
      - name: cursor
        description: Cursor to start from
        in: query
        required: false
        schema:
          type: string
      tags:
      - Console
    delete:
      summary: Delete (non-recorded) all user accounts.
      operationId: DeleteAccounts
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      tags:
      - Console
    post:
      summary: Import given account export data, creating a new account that fully matches the data.
      operationId: ImportAccountFull
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/console.Account'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AccountImport'
        description: Request to import user account data.
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{account_id}/note:
    get:
      operationId: ListAccountNotes
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListAccountNotesResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: account_id
        description: Account to list notes for.
        in: path
        required: true
        schema:
          type: string
      - name: limit
        description: Response result page limit.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: cursor
        description: Optional cursor for pagination.
        in: query
        required: false
        schema:
          type: string
      tags:
      - Console
    post:
      operationId: AddAccountNote
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountNote'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: account_id
        description: The account id to add the note for.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddAccountNoteBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{account_id}/note/{note_id}:
    delete:
      operationId: DeleteAccountNote
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: account_id
        description: Account owning the notes.
        in: path
        required: true
        schema:
          type: string
      - name: note_id
        description: Identifier of the note.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{account_id}/wallet:
    get:
      summary: Get a list of the user's wallet transactions.
      operationId: GetWalletLedger
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WalletLedgerList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: account_id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      - name: limit
        description: Max number of results per page.
        in: query
        required: false
        schema:
          type: integer
          format: int64
      - name: cursor
        description: Cursor to retrieve a page of records from.
        in: query
        required: false
        schema:
          type: string
      - name: after
        description: Optional timestamp threshold to list wallet ledger records after.
        in: query
        required: false
        schema:
          type: string
          format: date-time
      - name: before
        description: Optional timestamp threshold to list wallet ledger records before.
        in: query
        required: false
        schema:
          type: string
          format: date-time
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}:
    get:
      summary: Get detailed account information for a single user.
      operationId: GetAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/console.Account'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    delete:
      summary: Delete all information stored for a user account.
      operationId: DeleteAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      - name: record_deletion
        description: Record the user deletion - used for GDPR compliance.
        in: query
        required: false
        schema:
          type: boolean
      tags:
      - Console
    post:
      summary: Update one or more fields on a user account.
      operationId: UpdateAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: User ID to update.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAccountBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/ban:
    post:
      summary: Ban a user.
      operationId: BanAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/export:
    get:
      summary: Export all information stored about a user account.
      operationId: ExportAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountExport'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/friend:
    get:
      summary: Get a user's list of friend relationships.
      operationId: GetFriends
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FriendList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/friend/{friend_id}:
    delete:
      summary: Delete the friend relationship between two users.
      operationId: DeleteFriend
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The user do delete for.
        in: path
        required: true
        schema:
          type: string
      - name: friend_id
        description: User ID of the friend to remove.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/group:
    get:
      summary: Get a list of groups the user is a member of.
      operationId: GetGroups
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserGroupList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/group/{group_id}:
    delete:
      summary: Remove a user from a group.
      operationId: DeleteGroupUser
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: User to remove.
        in: path
        required: true
        schema:
          type: string
      - name: group_id
        description: ID of the group to remove them from.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/import:
    put:
      summary: Import given account export data, overwriting the user account's current state.
      operationId: ImportAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The user ID to overwrite data for, or blank if the account should be freshly created.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ImportAccountBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unban:
    post:
      summary: Unban a user.
      operationId: UnbanAccount
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/apple:
    post:
      summary: Unlink the Apple ID from a user account.
      operationId: UnlinkApple
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/custom:
    post:
      summary: Unlink the custom ID from a user account.
      operationId: UnlinkCustom
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/device:
    post:
      summary: Unlink the device ID from a user account.
      operationId: UnlinkDevice
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: User ID to unlink from.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnlinkDeviceBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/email:
    post:
      summary: Unlink the email from a user account.
      operationId: UnlinkEmail
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/facebook:
    post:
      summary: Unlink the Facebook ID from a user account.
      operationId: UnlinkFacebook
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/facebookinstantgame:
    post:
      summary: Unlink the Facebook Instant Game ID from a user account.
      operationId: UnlinkFacebookInstantGame
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/gamecenter:
    post:
      summary: Unlink the Game Center ID from a user account.
      operationId: UnlinkGameCenter
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/google:
    post:
      summary: Unlink the Google ID from a user account.
      operationId: UnlinkGoogle
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/unlink/steam:
    post:
      summary: Unlink the Steam ID from a user account.
      operationId: UnlinkSteam
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The unique identifier of the user account.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/account/{id}/wallet/{wallet_id}:
    delete:
      summary: Delete a wallet ledger item.
      operationId: DeleteWalletLedger
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: User ID to remove wallet ledger item from.
        in: path
        required: true
        schema:
          type: string
      - name: wallet_id
        description: ID of the wallet ledger item to remove.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/acl/template:
    get:
      operationId: ListAclTemplates
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AclTemplateList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      tags:
      - Console
    post:
      operationId: AddAclTemplate
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AclTemplate'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddAclTemplateRequest'
        description: Add a new ACL template.
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/acl/template/{id}:
    delete:
      operationId: DeleteAclTemplate
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The identifier of the ACL template.
        in: path
        required: true
        schema:
          type: string
      tags:
      - Console
    put:
      operationId: UpdateAclTemplate
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AclTemplate'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: id
        description: The identifier of the ACL template.
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAclTemplateBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/all:
    delete:
      summary: Deletes all data
      operationId: DeleteAllData
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                type: object
                properties: {}
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/api/endpoints:
    get:
      summary: API Explorer - list all endpoints
      operationId: ListApiEndpoints
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiEndpointList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/api/endpoints/rpc/{method}:
    post:
      summary: API Explorer - call a custom RPC endpoint
      operationId: CallRpcEndpoint
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallApiEndpointResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: method
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallRpcEndpointBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/api/endpoints/{method}:
    post:
      summary: API Explorer - call an endpoint
      operationId: CallApiEndpoint
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CallApiEndpointResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: method
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallApiEndpointBody'
        required: true
      tags:
      - Console
    servers:
    - url: http://127.0.0.1:7351
  /v2/console/audit/log:
    get:
      summary: List audit log entries with the selected filter
      operationId: ListAuditLogs
      responses:
        '200':
          description: A successful response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuditLogList'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/rpc.Status'
      parameters:
      - name: limit
        description: Maximum number of entries to return.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: username
        description: Filter by username.
        in: query
        required: false
        schema:
          type: string
      - name: resource
        description: Filter by resource.
        in: query
        required: false
        schema:
          type: integer
          format: int32
      - name: action
        description: Filter by action.
        in: query
        required: false
        schema:
          type: string
          enum:
          - UNKNOWN
          - CREATE
          - UPDATE
          - DELETE
          - INVOKE
          - IMPORT
          - EXPORT
          default: UNKNOWN
      - name: after
        description: Optional timestamp threshold to list audit log records after.
        in: query
        required: false
        schema:
          type: string
          format: date-time
      - name: before
        description: Optional timestamp threshold to list audit log records before.
        in: query
        required: false
        schema:
          type: string
          format: date-time
      - name: cursor
        description: Cursor to fetch additional.
        in: query


# --- truncated at 32 KB (172 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/heroiclabs/refs/heads/main/openapi/heroiclabs-console-api-openapi.yml