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

# My tenants

> List every tenant id the signed-in login user is granted access to, via their tenant_users grants — unlike GET :v1/me (which returns only the currently-resolved tenant), this is the full list a tenant switcher needs. For an opaque tenant/admin token (client-credentials), returns just that token's own tenant id (or none, for an admin token).



## OpenAPI

````yaml /openapi.yaml get /api/auth/v1/my-tenants
openapi: 3.0.3
info:
  title: MF Atlas API
  version: 1.0.0
servers:
  - description: Sandbox
    url: https://api-sandbox.mf-atlas.space
  - description: Production
    url: https://api.mf-atlas.space
security:
  - bearerAuth: []
paths:
  /api/auth/v1/my-tenants:
    get:
      tags:
        - auth
      summary: My tenants
      description: >-
        List every tenant id the signed-in login user is granted access to, via
        their tenant_users grants — unlike GET :v1/me (which returns only the
        currently-resolved tenant), this is the full list a tenant switcher
        needs. For an opaque tenant/admin token (client-credentials), returns
        just that token's own tenant id (or none, for an admin token).
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  tenants:
                    type: array
                type: object
          description: Tenant ids
components:
  securitySchemes:
    bearerAuth:
      bearerFormat: Opaque bearer token from POST /api/auth/v1/token
      scheme: bearer
      type: http

````