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

# List members of an organization



## OpenAPI

````yaml https://us.console.entire.io/api/v1/openapi.json get /orgs/{orgId}/members
openapi: 3.1.0
info:
  description: >-
    Entire control plane: identity, orgs, projects, repos, mirrors, service
    accounts.
  title: Entire Core API
  version: 1.0.0
servers:
  - url: https://us.console.entire.io/api/v1
security: []
tags:
  - name: identity
    x-group: Account
  - name: orgs
    x-group: Organizations
  - name: projects
    x-group: Projects
  - name: repos
    x-group: Repositories
  - name: clusters
    x-group: Clusters
paths:
  /orgs/{orgId}/members:
    get:
      tags:
        - orgs
      summary: List members of an organization
      operationId: listOrgMembers
      parameters:
        - description: Maximum entries to return; server may cap further.
          explode: false
          in: query
          name: pageSize
          schema:
            description: Maximum entries to return; server may cap further.
            format: int32
            maximum: 500
            minimum: 0
            type: integer
        - description: Opaque cursor from a previous response's nextPageToken.
          explode: false
          in: query
          name: pageToken
          schema:
            description: Opaque cursor from a previous response's nextPageToken.
            type: string
        - description: >-
            Sort column, name when omitted. name orders by public display name,
            else GitHub handle; people without either come last. role orders by
            membership role, owner first, then by name; collaborators come last.
            status orders active, pending, inactive, then people without a
            membership. joined orders by membership creation, oldest first;
            people without a membership come last.
          explode: false
          in: query
          name: sort
          schema:
            description: >-
              Sort column, name when omitted. name orders by public display
              name, else GitHub handle; people without either come last. role
              orders by membership role, owner first, then by name;
              collaborators come last. status orders active, pending, inactive,
              then people without a membership. joined orders by membership
              creation, oldest first; people without a membership come last.
            enum:
              - name
              - role
              - status
              - joined
            type: string
        - description: >-
            asc (default) or desc. desc reverses the order, but people without a
            name stay last on the name sort, and people without a membership
            stay last on joined.
          explode: false
          in: query
          name: order
          schema:
            description: >-
              asc (default) or desc. desc reverses the order, but people without
              a name stay last on the name sort, and people without a membership
              stay last on joined.
            enum:
              - asc
              - desc
            type: string
        - in: path
          name: orgId
          required: true
          schema:
            pattern: ^[0-9A-HJKMNP-TV-Z]{26}$
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListOrgMembersOutputBody'
          description: OK
        '400':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Bad Request
        '401':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Unauthorized
        '403':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Forbidden
        '404':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Not Found
        '422':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Unprocessable Entity
        '500':
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ErrorModel'
          description: Internal Server Error
      security:
        - oauth2: []
        - oidc: []
        - bearerAuth: []
        - sessionAuth: []
components:
  schemas:
    ListOrgMembersOutputBody:
      additionalProperties: true
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - /api/v1/schemas/ListOrgMembersOutputBody.json
          format: uri
          readOnly: true
          type: string
        members:
          items:
            $ref: '#/components/schemas/OrgMemberListItem'
          type: array
        nextPageToken:
          description: Pass back to fetch the next page; empty when no more entries.
          type: string
      required:
        - members
      type: object
    ErrorModel:
      additionalProperties: true
      properties:
        $schema:
          description: A URL to the JSON Schema for this object.
          examples:
            - /api/v1/schemas/ErrorModel.json
          format: uri
          readOnly: true
          type: string
        detail:
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          examples:
            - Property foo is required but is missing.
          type: string
        errors:
          description: Optional list of individual error details
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
        instance:
          description: >-
            A URI reference that identifies the specific occurrence of the
            problem.
          examples:
            - https://example.com/error-log/abc123
          format: uri
          type: string
        status:
          description: HTTP status code
          examples:
            - 400
          format: int64
          type: integer
        title:
          description: >-
            A short, human-readable summary of the problem type. This value
            should not change between occurrences of the error.
          examples:
            - Bad Request
          type: string
        type:
          default: about:blank
          description: A URI reference to human-readable documentation for the error.
          examples:
            - https://example.com/errors/example
          format: uri
          type: string
      type: object
    OrgMemberListItem:
      additionalProperties: true
      properties:
        accountId:
          type: string
        avatarUrl:
          description: Public avatar URL.
          type: string
        createdAt:
          format: date-time
          type: string
        displayName:
          description: Account-level public display name.
          type: string
        handle:
          type: string
        id:
          type: string
        orgId:
          type: string
        provider:
          type: string
        role:
          enum:
            - owner
            - admin
            - member
          type: string
        status:
          description: Membership lifecycle status.
          enum:
            - active
            - inactive
            - pending
          type: string
        username:
          description: The member's Entire username. Omitted until claimed.
          type: string
        workosOrgMembershipId:
          type: string
      required:
        - id
        - accountId
        - orgId
        - role
        - status
        - createdAt
      type: object
    ErrorDetail:
      additionalProperties: true
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    oauth2:
      description: >-
        Authorization code flow with PKCE-S256. RFC 8628 device flow is also
        supported.
      flows:
        authorizationCode:
          authorizationUrl: /authorize
          scopes:
            offline_access: Request a refresh token.
            openid: Authenticate using OpenID Connect.
          tokenUrl: /oauth/token
      type: oauth2
    oidc:
      description: OpenID Connect discovery for browser and RFC 8628 device authentication.
      openIdConnectUrl: /.well-known/openid-configuration
      type: openIdConnect
    bearerAuth:
      bearerFormat: JWT
      description: Bearer access token.
      scheme: bearer
      type: http
    sessionAuth:
      description: Console session cookie issued by the browser login flow.
      in: cookie
      name: entire_session
      type: apiKey

````