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

# Preview



## OpenAPI

````yaml /openapi.json post /v1/workspaces/{workspaceId}/projects/{projectId}/teams/preview
openapi: 3.1.0
info:
  title: Specurate API
  description: ''
  version: 1.0.0
  contact: {}
servers:
  - url: https://app.specurate.com/api
    description: API Server
security: []
tags: []
paths:
  /v1/workspaces/{workspaceId}/projects/{projectId}/teams/preview:
    post:
      tags:
        - Project Teams
      summary: Preview
      operationId: ProjectTeamsController_preview_v1
      parameters:
        - name: projectId
          required: true
          in: path
          schema:
            type: string
        - name: workspaceId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PreviewProjectTeamAccessDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProjectTeamAccessChangeResponseDto'
components:
  schemas:
    PreviewProjectTeamAccessDto:
      type: object
      properties:
        region:
          type: string
        locationId:
          type:
            - string
            - 'null'
    ProjectTeamAccessChangeResponseDto:
      type: object
      properties:
        gaining:
          type: array
          items:
            $ref: '#/components/schemas/ProjectAccessTeamResponseDto'
        losing:
          type: array
          items:
            $ref: '#/components/schemas/ProjectAccessTeamResponseDto'
        gainingMembers:
          type: array
          items:
            $ref: '#/components/schemas/ProjectMoveMemberResponseDto'
        losingMembers:
          type: array
          items:
            $ref: '#/components/schemas/ProjectMoveMemberResponseDto'
      required:
        - gaining
        - losing
        - gainingMembers
        - losingMembers
    ProjectAccessTeamResponseDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        reason:
          type: string
          enum:
            - all
            - location
            - region
            - explicit
        accessLevel:
          type: string
          enum:
            - edit
            - view
        levelEditable:
          type: boolean
        memberCount:
          type: number
      required:
        - id
        - name
        - reason
        - accessLevel
        - levelEditable
        - memberCount
    ProjectMoveMemberResponseDto:
      type: object
      properties:
        userId:
          type: string
        name:
          type: string
        releasesLead:
          type: boolean
      required:
        - userId
        - name
        - releasesLead

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.