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

# Patch v1workspaces members



## OpenAPI

````yaml /openapi/platform.json patch /v1/workspaces/{workspaceId}/members/{memberId}
openapi: 3.1.0
info:
  title: GOL Platform API
  description: >-
    Public API for GOL developer projects, credentials, owner gas policies,
    hosted gas executions, and webhooks.
  version: 0.7.0
servers:
  - url: http://localhost:4100
    description: Local development
security: []
tags:
  - name: system
  - name: authentication
  - name: projects
  - name: api-keys
  - name: audit
  - name: gas-executions
  - name: gas-policies
  - name: webhooks
paths:
  /v1/workspaces/{workspaceId}/members/{memberId}:
    patch:
      tags:
        - workspaces
      operationId: changeWorkspaceMember
      parameters:
        - schema:
            format: uuid
            type: string
          in: path
          name: workspaceId
          required: true
        - schema:
            format: uuid
            type: string
          in: path
          name: memberId
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              additionalProperties: false
              type: object
              required:
                - role
                - scope
                - projectIds
              properties:
                role:
                  anyOf:
                    - type: string
                      enum:
                        - owner
                    - type: string
                      enum:
                        - admin
                    - type: string
                      enum:
                        - operator
                    - type: string
                      enum:
                        - viewer
                scope:
                  anyOf:
                    - type: string
                      enum:
                        - all
                    - type: string
                      enum:
                        - selected
                projectIds:
                  uniqueItems: true
                  type: array
                  items:
                    format: uuid
                    type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - developerId
                  - email
                  - role
                  - scope
                  - projectIds
                  - joinedAt
                properties:
                  developerId:
                    format: uuid
                    type: string
                  email:
                    type: string
                  role:
                    anyOf:
                      - type: string
                        enum:
                          - owner
                      - type: string
                        enum:
                          - admin
                      - type: string
                        enum:
                          - operator
                      - type: string
                        enum:
                          - viewer
                  scope:
                    anyOf:
                      - type: string
                        enum:
                          - all
                      - type: string
                        enum:
                          - selected
                  projectIds:
                    type: array
                    items:
                      format: uuid
                      type: string
                  joinedAt:
                    format: date-time
                    type: string
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '403':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '409':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '429':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                required:
                  - error
                properties:
                  error:
                    type: object
                    required:
                      - code
                      - message
                      - correlationId
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                      correlationId:
                        format: uuid
                        type: string
      security:
        - bearerAuth: []
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````