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

# Add Member

> Add an *existing* user to a workspace, or move them between workspaces.



## OpenAPI

````yaml /api-reference/openapi.json post /api/workspaces/{workspace_id}/members
openapi: 3.1.0
info:
  title: Blindsight API
  version: 0.1.0
  description: >-
    The full Blindsight REST surface, generated from the running application.
    Replace the server host with your own deployment.


    For the Runtime Security integration surface (scan, proxy, tool calls) see
    the Runtime Security spec, which is hand written and carries worked
    examples.
servers:
  - url: https://api.your-blindsight.com
    description: Your Blindsight deployment
security: []
paths:
  /api/workspaces/{workspace_id}/members:
    post:
      tags:
        - workspaces
      summary: Add Member
      description: Add an *existing* user to a workspace, or move them between workspaces.
      operationId: add_member_api_workspaces__workspace_id__members_post
      parameters:
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
            title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MemberInvite'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MemberRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    MemberInvite:
      properties:
        email:
          type: string
          format: email
          title: Email
        roles:
          items:
            type: string
          type: array
          title: Roles
      type: object
      required:
        - email
      title: MemberInvite
    MemberRead:
      properties:
        id:
          type: integer
          title: Id
        email:
          type: string
          title: Email
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        is_active:
          type: boolean
          title: Is Active
        roles:
          items:
            type: string
          type: array
          title: Roles
          default: []
        is_platform_owner:
          type: boolean
          title: Is Platform Owner
          default: false
        workspace_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Workspace Id
      type: object
      required:
        - id
        - email
        - is_active
      title: MemberRead
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````