Tenant Administration

Tenant Administration is a Naftiko capability published by The Things Network / The Things Stack, one of 5 capabilities the APIs.io network indexes for this provider.

Can be deployed as a REST endpoint, MCP tool, or Agent Skill via Naftiko.

Run with Naftiko

Capability Spec

tenant-administration.yaml Raw ↑
apiVersion: naftiko/v1
kind: Capability
metadata:
  name: tenant-administration
  provider: the-things-network
  description: Administer a Things Stack tenant — users, organizations, OAuth clients, invitations, sessions, and API keys — via the Identity Server.
  tags:
    - Identity
    - OAuth
    - Administration
spec:
  inputs:
    organization_id:
      type: string
  steps:
    - id: create-user
      operation: IdentityServer.UserRegistry.Create
      path: /users
    - id: invite-user
      operation: IdentityServer.UserInvitationRegistry.Send
      path: /invitations
    - id: create-org
      operation: IdentityServer.OrganizationRegistry.Create
      path: /users/{user_id}/organizations
    - id: issue-api-key
      operation: IdentityServer.UserAccess.CreateAPIKey
      path: /users/{user_id}/api-keys
    - id: register-oauth-client
      operation: IdentityServer.ClientRegistry.Create
      path: /users/{user_id}/clients
  outputs:
    organization_id:
      type: string
    api_key_id:
      type: string