smart-me AG Sub User API

The SubUser API from smart-me AG — 2 operation(s) for subuser.

GitHub OpenAPI

Operations 3

GET /SubUser/{id} Get a sub user. The user must be assigned to the user that makes this call #
DELETE /SubUser/{id} Delete a subuser #
POST /SubUser Creates or updates a subuser. To create a new user set no ID (empty) #

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/smart-me-com:smart-me-com-subuser-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

smart-me-com-subuser-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: smart-me Sub User API
  version: v1
security:
- OAuth2: []
- Basic: []
tags:
- name: SubUser
paths:
  /SubUser/{id}:
    get:
      tags:
      - SubUser
      summary: Get a sub user. The user must be assigned to the user that makes this call
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/SubUserData'
            application/json:
              schema:
                $ref: '#/components/schemas/SubUserData'
            text/json:
              schema:
                $ref: '#/components/schemas/SubUserData'
      operationId: getSubUserById
      x-operation-id-source: derived
    delete:
      tags:
      - SubUser
      summary: Delete a subuser
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      operationId: deleteSubUserById
      x-operation-id-source: derived
  /SubUser:
    post:
      tags:
      - SubUser
      summary: Creates or updates a subuser. To create a new user set no ID (empty)
      requestBody:
        content:
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SubUserData'
          application/json:
            schema:
              $ref: '#/components/schemas/SubUserData'
          text/json:
            schema:
              $ref: '#/components/schemas/SubUserData'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SubUserData'
        required: true
      responses:
        '200':
          description: OK
      operationId: postSubUser
      x-operation-id-source: derived
components:
  schemas:
    SubUserData:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: The ID of the user
        username:
          type:
          - string
          - 'null'
          description: The username
        email:
          type:
          - string
          - 'null'
          description: The Email adress
        permissionLevel:
          $ref: '#/components/schemas/UserPermissionLevel'
        accessTimeStartDate:
          type: string
          description: The start date. From this date the user has access
          format: date-time
        accessEndDate:
          type: string
          description: The end date. until this date the user has access
          format: date-time
        newPassword:
          type:
          - string
          - 'null'
          description: If set this is used a new password
      additionalProperties: false
      description: Container data for the sub user
    UserPermissionLevel:
      enum:
      - 0
      - 1
      type: integer
      description: 'The permission levle of the sub user<p>Members: </p><ul><li><i>0</i> - SelectedFolderAndSubfoldersMeters</li><li><i>1</i> - SelectedFolderOnly</li></ul>'
      format: int32
  securitySchemes:
    OAuth2:
      type: oauth2
      description: OAuth 2.0 authorization
      flows:
        clientCredentials:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            user.read: Read the user settings
            user.readwrite: Read and write the user settings
            device.read: Read data from the devices
            device.readswitch: Read data from the device and controll the outputs
            device.readwrite: Read data from the device and add/update the values
            auditlog.read: Read the audit log
            partner.read: Read the device of a partner
            partner.write: Read and write the device of a partner
            partner.updatefirmware: Update the firmware of all devices of a partner
            realtimeapi.read: Read the realtime api registrations
            realtimeapi.readwrite: Read and write the realtime api registrations
            oauthapp.write: Write and change of oauth applications
        authorizationCode:
          authorizationUrl: /oauth/authorize
          tokenUrl: /oauth/token
          scopes:
            user.read: Read the user settings
            user.readwrite: Read and write the user settings
            device.read: Read data from the devices
            device.readswitch: Read data from the device and controll the outputs
            device.readwrite: Read data from the device and add/update the values
            auditlog.read: Read the audit log
            partner.read: Read the device of a partner
            partner.write: Read and write the device of a partner
            partner.updatefirmware: Update the firmware of all devices of a partner
            realtimeapi.read: Read the realtime api registrations
            realtimeapi.readwrite: Read and write the realtime api registrations
            oauthapp.write: Write and change of oauth applications
    Basic:
      type: http
      description: Basic authorization
      scheme: Basic