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

> ## Agent Instructions
> Treat Stackdome as an application-delivery platform for coding agents and developers, not as a Kubernetes dashboard.
> Prefer the Stackdome agent plugin as the user entry point and the stackdome CLI as the execution interface.
> Route agents who need the maintained deploy skill to npx skills add stackdome/skills and the complete operational workflow to /guides/ai-agents.
> Verify commands and flags with stackdome --help. Run stackdome init before authoring stackfile.yaml and stackdome validate before deploying.
> Use -o json for automation and verify documented terminal states before claiming success.
> Never request a user's account password. Use API-token authentication.
> During alpha, Stackdome Cloud is ephemeral and capacity-limited, and each organization can connect one cluster.
> Do not expose Kubernetes as a user concern unless the task is self-hosting or infrastructure architecture.

# Create new user

> Create a new user



## OpenAPI

````yaml /openapi.yaml post /api/v1/user-signup
openapi: 3.0.0
info:
  description: >-
    Deploy, debug, and operate applications through the Stackdome REST API on
    Stackdome Cloud or a self-hosted installation. This API is in alpha and may
    change before general availability.
  title: Stackdome API
  version: 0.0.1-alpha
servers:
  - url: /
security: []
paths:
  /api/v1/user-signup:
    post:
      summary: Create new user
      description: Create a new user
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UserSignupRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UserSignupResponse'
          description: User created successfully
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Invalid request data
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: User already exists
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          description: Internal server error
components:
  schemas:
    UserSignupRequest:
      example:
        password: password
        name: name
        organisation:
          updated_at: '2000-01-23T04:56:07.000Z'
          is_platform: true
          name: name
          domains:
            - fqdn: fqdn
              id: id
            - fqdn: fqdn
              id: id
          created_at: '2000-01-23T04:56:07.000Z'
          id: id
        invite_token: invite_token
        email: email
      properties:
        name:
          description: User's name
          type: string
        email:
          description: User's email address
          format: email
          type: string
        password:
          description: Users desired password
          type: string
        organisation:
          $ref: '#/components/schemas/Organisation'
        invite_token:
          description: Optional invite token for joining an existing organization
          type: string
      required:
        - email
        - name
        - password
      type: object
    UserSignupResponse:
      example:
        refresh_token: refresh_token
        jwt_token: jwt_token
        user:
          organisation_id: organisation_id
          role: null
          projects:
            - role: Developer
              project_id: project_id
              default_project: true
              project_name: project_name
            - role: Developer
              project_id: project_id
              default_project: true
              project_name: project_name
          name: name
          organisation: organisation
          id: id
          email: email
          username: username
      properties:
        user:
          $ref: '#/components/schemas/User'
        jwt_token:
          description: JWT token for the authenticated user
          type: string
        refresh_token:
          description: Refresh token for obtaining new access tokens
          type: string
      type: object
    Error:
      allOf:
        - $ref: '#/components/schemas/ObjectReference'
        - $ref: '#/components/schemas/Error_allOf'
    Organisation:
      example:
        updated_at: '2000-01-23T04:56:07.000Z'
        is_platform: true
        name: name
        domains:
          - fqdn: fqdn
            id: id
          - fqdn: fqdn
            id: id
        created_at: '2000-01-23T04:56:07.000Z'
        id: id
      properties:
        id:
          type: string
        name:
          type: string
        domains:
          items:
            $ref: '#/components/schemas/DomainName'
          type: array
        is_platform:
          readOnly: true
          type: boolean
        created_at:
          format: date-time
          type: string
        updated_at:
          format: date-time
          type: string
      type: object
    User:
      example:
        organisation_id: organisation_id
        role: null
        projects:
          - role: Developer
            project_id: project_id
            default_project: true
            project_name: project_name
          - role: Developer
            project_id: project_id
            default_project: true
            project_name: project_name
        name: name
        organisation: organisation
        id: id
        email: email
        username: username
      properties:
        id:
          description: User's ID
          type: string
        name:
          description: User's name
          type: string
        username:
          description: User's username
          type: string
        email:
          description: User's email address
          format: email
          type: string
        organisation:
          description: User's organisation
          type: string
        role:
          $ref: '#/components/schemas/UserRole'
        organisation_id:
          description: OrganisationID
          type: string
        projects:
          description: >-
            Projects the user belongs to (included in login/signup/current-user
            responses)
          items:
            $ref: '#/components/schemas/UserProjectMembership'
          type: array
      type: object
    ObjectReference:
      properties:
        id:
          type: string
        kind:
          type: string
        href:
          type: string
      type: object
    Error_allOf:
      properties:
        code:
          type: string
        reason:
          type: string
        operation_id:
          type: string
        details:
          additionalProperties: true
          description: Optional structured, machine-readable error context
          type: object
      type: object
    DomainName:
      example:
        fqdn: fqdn
        id: id
      properties:
        id:
          readOnly: true
          type: string
        fqdn:
          description: Fully Qualified Domain Name
          type: string
      type: object
    UserRole:
      enum:
        - OrgAdmin
        - OrgMember
      type: string
    UserProjectMembership:
      example:
        role: Developer
        project_id: project_id
        default_project: true
        project_name: project_name
      properties:
        project_id:
          type: string
        project_name:
          type: string
        role:
          enum:
            - Developer
            - Viewer
          type: string
        default_project:
          type: boolean
      type: object

````