> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nexenergie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Multi-Tenant Access Control and Organisation Management

> Nexenergie supports multiple organisations on a single platform. Learn how tenant isolation works and how to manage access within your organisation.

A tenant is an organization with its own users, sites, API keys, and webhooks. Data is scoped to the tenant on the access token or API key.

## Roles

<AccordionGroup>
  <Accordion title="admin" icon="user-shield">
    Users, invitations, API keys, webhooks, sites, and settings.
  </Accordion>

  <Accordion title="manager" icon="user-tie">
    Sites and operational tools. Not tenant-wide key or webhook admin.
  </Accordion>

  <Accordion title="trader" icon="chart-line">
    Trading-oriented views and forecast alerts.
  </Accordion>

  <Accordion title="viewer" icon="eye">
    Read-only dashboard and client API when using a key.
  </Accordion>
</AccordionGroup>

Platform **superadmins** can list and deactivate tenants and users via `/api/v1/admin`. That is not a tenant role.

## Registration

<Steps>
  <Step title="Start registration">
    `POST /api/v1/auth/register` with email and tenant name.
  </Step>

  <Step title="Verify email">
    Enter the 6-digit OTP sent to the user.
  </Step>

  <Step title="Complete profile">
    `POST /api/v1/auth/register/complete` with password and profile fields.
  </Step>
</Steps>

Admins invite additional users with `POST /api/v1/auth/invitations`. Invitees accept via a token URL.
