Coder Enterprise API

The Enterprise API from Coder — 67 operation(s) for enterprise.

Operations 98

GET /.well-known/oauth-authorization-server OAuth2 authorization server metadata. #
GET /.well-known/oauth-protected-resource OAuth2 protected resource metadata. #
GET /api/v2/aibridge/keys List AI Gateway keys #
POST /api/v2/aibridge/keys Create AI Gateway key #
DELETE /api/v2/aibridge/keys/{key} Delete AI Gateway key #
GET /api/v2/appearance Get appearance #
PUT /api/v2/appearance Update appearance #
POST /api/v2/applications/reconnecting-pty-signed-token Issue signed app token for reconnecting PTY #
GET /api/v2/connectionlog Get connection logs #
GET /api/v2/entitlements Get entitlements #
GET /api/v2/groups Get groups #
GET /api/v2/groups/{group} Get group by ID #
DELETE /api/v2/groups/{group} Delete group by name #
PATCH /api/v2/groups/{group} Update group by name #
GET /api/v2/groups/{group}/ai/budget Get group AI budget #
PUT /api/v2/groups/{group}/ai/budget Upsert group AI budget #
DELETE /api/v2/groups/{group}/ai/budget Delete group AI budget #
GET /api/v2/groups/{group}/members Get group members by group ID #
GET /api/v2/licenses Get licenses #
POST /api/v2/licenses Add new license #
POST /api/v2/licenses/refresh-entitlements Update license entitlements #
DELETE /api/v2/licenses/{id} Delete license #
PUT /api/v2/notifications/templates/{notification_template}/method Update notification template dispatch method #
GET /api/v2/oauth2-provider/apps Get OAuth2 applications. #
POST /api/v2/oauth2-provider/apps Create OAuth2 application. #
GET /api/v2/oauth2-provider/apps/{app} Get OAuth2 application. #
PUT /api/v2/oauth2-provider/apps/{app} Update OAuth2 application. #
DELETE /api/v2/oauth2-provider/apps/{app} Delete OAuth2 application. #
GET /api/v2/oauth2-provider/apps/{app}/secrets Get OAuth2 application secrets. #
POST /api/v2/oauth2-provider/apps/{app}/secrets Create OAuth2 application secret. #
DELETE /api/v2/oauth2-provider/apps/{app}/secrets/{secretID} Delete OAuth2 application secret. #
GET /api/v2/organizations/{organization}/groups Get groups by organization #
POST /api/v2/organizations/{organization}/groups Create group for organization #
GET /api/v2/organizations/{organization}/groups/{groupName} Get group by organization and group name #
GET /api/v2/organizations/{organization}/groups/{groupName}/members Get group members by organization and group name #
GET /api/v2/organizations/{organization}/members/{user}/workspace-quota Get workspace quota by user #
GET /api/v2/organizations/{organization}/provisionerdaemons/serve Serve provisioner daemon #
GET /api/v2/organizations/{organization}/provisionerkeys List provisioner key #
POST /api/v2/organizations/{organization}/provisionerkeys Create provisioner key #
GET /api/v2/organizations/{organization}/provisionerkeys/daemons List provisioner key daemons #
DELETE /api/v2/organizations/{organization}/provisionerkeys/{provisionerkey} Delete provisioner key #
GET /api/v2/organizations/{organization}/settings/idpsync/available-fields Get the available organization idp sync claim fields #
GET /api/v2/organizations/{organization}/settings/idpsync/field-values Get the organization idp sync claim field values #
GET /api/v2/organizations/{organization}/settings/idpsync/groups Get group IdP Sync settings by organization #
PATCH /api/v2/organizations/{organization}/settings/idpsync/groups Update group IdP Sync settings by organization #
PATCH /api/v2/organizations/{organization}/settings/idpsync/groups/config Update group IdP Sync config #
PATCH /api/v2/organizations/{organization}/settings/idpsync/groups/mapping Update group IdP Sync mapping #
GET /api/v2/organizations/{organization}/settings/idpsync/roles Get role IdP Sync settings by organization #
PATCH /api/v2/organizations/{organization}/settings/idpsync/roles Update role IdP Sync settings by organization #
PATCH /api/v2/organizations/{organization}/settings/idpsync/roles/config Update role IdP Sync config #
PATCH /api/v2/organizations/{organization}/settings/idpsync/roles/mapping Update role IdP Sync mapping #
GET /api/v2/organizations/{organization}/settings/workspace-sharing Get workspace sharing settings for organization #
PATCH /api/v2/organizations/{organization}/settings/workspace-sharing Update workspace sharing settings for organization #
GET /api/v2/provisionerkeys/{provisionerkey} Fetch provisioner key details #
GET /api/v2/replicas Get active replicas #
GET /api/v2/settings/idpsync/available-fields Get the available idp sync claim fields #
GET /api/v2/settings/idpsync/field-values Get the idp sync claim field values #
GET /api/v2/settings/idpsync/organization Get organization IdP Sync settings #
PATCH /api/v2/settings/idpsync/organization Update organization IdP Sync settings #
PATCH /api/v2/settings/idpsync/organization/config Update organization IdP Sync config #
PATCH /api/v2/settings/idpsync/organization/mapping Update organization IdP Sync mapping #
GET /api/v2/templates/{template}/acl Get template ACLs #
PATCH /api/v2/templates/{template}/acl Update template ACL #
GET /api/v2/templates/{template}/acl/available Get template available acl users/groups #
POST /api/v2/templates/{template}/prebuilds/invalidate Invalidate presets for template #
GET /api/v2/users/{user}/ai/budget Get user AI budget override #
PUT /api/v2/users/{user}/ai/budget Upsert user AI budget override #
DELETE /api/v2/users/{user}/ai/budget Delete user AI budget override #
GET /api/v2/users/{user}/quiet-hours Get user quiet hours schedule #
PUT /api/v2/users/{user}/quiet-hours Update user quiet hours schedule #
GET /api/v2/workspace-quota/{user} Get workspace quota by user deprecated #
GET /api/v2/workspaceproxies Get workspace proxies #
POST /api/v2/workspaceproxies Create workspace proxy #
POST /api/v2/workspaceproxies/me/app-stats Report workspace app stats #
GET /api/v2/workspaceproxies/me/coordinate Workspace Proxy Coordinate #
GET /api/v2/workspaceproxies/me/crypto-keys Get workspace proxy crypto keys #
POST /api/v2/workspaceproxies/me/deregister Deregister workspace proxy #
POST /api/v2/workspaceproxies/me/issue-signed-app-token Issue signed workspace app token #
POST /api/v2/workspaceproxies/me/register Register workspace proxy #
GET /api/v2/workspaceproxies/{workspaceproxy} Get workspace proxy #
DELETE /api/v2/workspaceproxies/{workspaceproxy} Delete workspace proxy #
PATCH /api/v2/workspaceproxies/{workspaceproxy} Update workspace proxy #
GET /api/v2/workspaces/{workspace}/external-agent/{agent}/credentials Get workspace external agent credentials #
GET /oauth2/authorize OAuth2 authorization request (GET - show authorization page). #
POST /oauth2/authorize OAuth2 authorization request (POST - process authorization). #
GET /oauth2/clients/{client_id} Get OAuth2 client configuration (RFC 7592) #
PUT /oauth2/clients/{client_id} Update OAuth2 client configuration (RFC 7592) #
DELETE /oauth2/clients/{client_id} Delete OAuth2 client registration (RFC 7592) #
POST /oauth2/register OAuth2 dynamic client registration (RFC 7591) #
POST /oauth2/revoke Revoke OAuth2 tokens (RFC 7009). #
POST /oauth2/tokens OAuth2 token exchange. #
DELETE /oauth2/tokens Delete OAuth2 application tokens. #
GET /scim/v2/ServiceProviderConfig SCIM 2.0: Service Provider Config #
GET /scim/v2/Users SCIM 2.0: Get users #
POST /scim/v2/Users SCIM 2.0: Create new user #
GET /scim/v2/Users/{id} SCIM 2.0: Get user by ID #
PUT /scim/v2/Users/{id} SCIM 2.0: Replace user account #
PATCH /scim/v2/Users/{id} SCIM 2.0: Update user account #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/coder-enterprise-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

coder-enterprise-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  description: Coderd is the service created by running coder server. It is a thin API that connects workspaces, provisioners and users. coderd stores its state in Postgres and is the only service that communicates with Postgres.
  title: Coder Agents Enterprise API
  termsOfService: https://coder.com/legal/terms-of-service
  contact:
    name: API Support
    url: https://coder.com
    email: support@coder.com
  license:
    name: AGPL-3.0
    url: https://github.com/coder/coder/blob/main/LICENSE
  version: '2.0'
servers:
- url: https://{coderHost}/api/v2
  description: Coder instance
  variables:
    coderHost:
      default: coder.example.com
      description: Your Coder deployment hostname
security:
- CoderSessionToken: []
tags:
- name: Enterprise
paths:
  /.well-known/oauth-authorization-server:
    get:
      operationId: oauth2-authorization-server-metadata
      summary: OAuth2 authorization server metadata.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.OAuth2AuthorizationServerMetadata'
  /.well-known/oauth-protected-resource:
    get:
      operationId: oauth2-protected-resource-metadata
      summary: OAuth2 protected resource metadata.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.OAuth2ProtectedResourceMetadata'
  /api/v2/aibridge/keys:
    get:
      operationId: list-ai-gateway-keys
      summary: List AI Gateway keys
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.AIGatewayKey'
    post:
      operationId: create-ai-gateway-key
      summary: Create AI Gateway key
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.CreateAIGatewayKeyRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.CreateAIGatewayKeyResponse'
  /api/v2/aibridge/keys/{key}:
    delete:
      operationId: delete-ai-gateway-key
      summary: Delete AI Gateway key
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: key
        in: path
        required: true
        description: Key ID
        schema:
          type: string
      responses:
        '204':
          description: No Content
  /api/v2/appearance:
    get:
      operationId: get-appearance
      summary: Get appearance
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.AppearanceConfig'
    put:
      operationId: update-appearance
      summary: Update appearance
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.UpdateAppearanceConfig'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.UpdateAppearanceConfig'
  /api/v2/applications/reconnecting-pty-signed-token:
    post:
      operationId: issue-signed-app-token-for-reconnecting-pty
      summary: Issue signed app token for reconnecting PTY
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.IssueReconnectingPTYSignedTokenRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.IssueReconnectingPTYSignedTokenResponse'
  /api/v2/connectionlog:
    get:
      operationId: get-connection-logs
      summary: Get connection logs
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: q
        in: query
        required: false
        description: Search query
        schema:
          type: string
      - name: limit
        in: query
        required: true
        description: Page limit
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: Page offset
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.ConnectionLogResponse'
  /api/v2/entitlements:
    get:
      operationId: get-entitlements
      summary: Get entitlements
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Entitlements'
  /api/v2/groups:
    get:
      operationId: get-groups
      summary: Get groups
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: query
        required: true
        description: Organization ID or name
        schema:
          type: string
      - name: has_member
        in: query
        required: true
        description: User ID or name
        schema:
          type: string
      - name: group_ids
        in: query
        required: true
        description: Comma separated list of group IDs
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.Group'
  /api/v2/groups/{group}:
    get:
      operationId: get-group-by-id
      summary: Get group by ID
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group id
        schema:
          type: string
      - name: exclude_members
        in: query
        required: false
        description: Exclude members from the response
        schema:
          type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Group'
    delete:
      operationId: delete-group-by-name
      summary: Delete group by name
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group name
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Group'
    patch:
      operationId: update-group-by-name
      summary: Update group by name
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group name
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PatchGroupRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Group'
  /api/v2/groups/{group}/ai/budget:
    get:
      operationId: get-group-ai-budget
      summary: Get group AI budget
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupAIBudget'
    put:
      operationId: upsert-group-ai-budget
      summary: Upsert group AI budget
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group ID
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.UpsertGroupAIBudgetRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupAIBudget'
    delete:
      operationId: delete-group-ai-budget
      summary: Delete group AI budget
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group ID
        schema:
          type: string
      responses:
        '204':
          description: No Content
  /api/v2/groups/{group}/members:
    get:
      operationId: get-group-members-by-group-id
      summary: Get group members by group ID
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: group
        in: path
        required: true
        description: Group id
        schema:
          type: string
      - name: q
        in: query
        required: false
        description: Member search query
        schema:
          type: string
      - name: after_id
        in: query
        required: false
        description: After ID
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Page limit
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: Page offset
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupMembersResponse'
  /api/v2/licenses:
    get:
      operationId: get-licenses
      summary: Get licenses
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.License'
    post:
      operationId: add-new-license
      summary: Add new license
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.AddLicenseRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.License'
  /api/v2/licenses/refresh-entitlements:
    post:
      operationId: update-license-entitlements
      summary: Update license entitlements
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Response'
  /api/v2/licenses/{id}:
    delete:
      operationId: delete-license
      summary: Delete license
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: id
        in: path
        required: true
        description: License ID
        schema:
          type: string
      responses:
        '200':
          description: OK
  /api/v2/notifications/templates/{notification_template}/method:
    put:
      operationId: update-notification-template-dispatch-method
      summary: Update notification template dispatch method
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: notification_template
        in: path
        required: true
        description: Notification template UUID
        schema:
          type: string
      responses:
        '200':
          description: Success
        '304':
          description: Not modified
  /api/v2/oauth2-provider/apps:
    get:
      operationId: get-oauth2-applications
      summary: Get OAuth2 applications.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: user_id
        in: query
        required: false
        description: Filter by applications authorized for a user
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.OAuth2ProviderApp'
    post:
      operationId: create-oauth2-application
      summary: Create OAuth2 application.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PostOAuth2ProviderAppRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.OAuth2ProviderApp'
  /api/v2/oauth2-provider/apps/{app}:
    get:
      operationId: get-oauth2-application
      summary: Get OAuth2 application.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: app
        in: path
        required: true
        description: App ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.OAuth2ProviderApp'
    put:
      operationId: update-oauth2-application
      summary: Update OAuth2 application.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: app
        in: path
        required: true
        description: App ID
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PutOAuth2ProviderAppRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.OAuth2ProviderApp'
    delete:
      operationId: delete-oauth2-application
      summary: Delete OAuth2 application.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: app
        in: path
        required: true
        description: App ID
        schema:
          type: string
      responses:
        '204':
          description: No Content
  /api/v2/oauth2-provider/apps/{app}/secrets:
    get:
      operationId: get-oauth2-application-secrets
      summary: Get OAuth2 application secrets.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: app
        in: path
        required: true
        description: App ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.OAuth2ProviderAppSecret'
    post:
      operationId: create-oauth2-application-secret
      summary: Create OAuth2 application secret.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: app
        in: path
        required: true
        description: App ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.OAuth2ProviderAppSecretFull'
  /api/v2/oauth2-provider/apps/{app}/secrets/{secretID}:
    delete:
      operationId: delete-oauth2-application-secret
      summary: Delete OAuth2 application secret.
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: app
        in: path
        required: true
        description: App ID
        schema:
          type: string
      - name: secretID
        in: path
        required: true
        description: Secret ID
        schema:
          type: string
      responses:
        '204':
          description: No Content
  /api/v2/organizations/{organization}/groups:
    get:
      operationId: get-groups-by-organization
      summary: Get groups by organization
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.Group'
    post:
      operationId: create-group-for-organization
      summary: Create group for organization
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.CreateGroupRequest'
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Group'
  /api/v2/organizations/{organization}/groups/{groupName}:
    get:
      operationId: get-group-by-organization-and-group-name
      summary: Get group by organization and group name
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        description: Group name
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.Group'
  /api/v2/organizations/{organization}/groups/{groupName}/members:
    get:
      operationId: get-group-members-by-organization-and-group-name
      summary: Get group members by organization and group name
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      - name: groupName
        in: path
        required: true
        description: Group name
        schema:
          type: string
      - name: q
        in: query
        required: false
        description: Member search query
        schema:
          type: string
      - name: after_id
        in: query
        required: false
        description: After ID
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Page limit
        schema:
          type: integer
      - name: offset
        in: query
        required: false
        description: Page offset
        schema:
          type: integer
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupMembersResponse'
  /api/v2/organizations/{organization}/members/{user}/workspace-quota:
    get:
      operationId: get-workspace-quota-by-user
      summary: Get workspace quota by user
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: user
        in: path
        required: true
        description: User ID, name, or me
        schema:
          type: string
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.WorkspaceQuota'
  /api/v2/organizations/{organization}/provisionerdaemons/serve:
    get:
      operationId: serve-provisioner-daemon
      summary: Serve provisioner daemon
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '101':
          description: Switching Protocols
  /api/v2/organizations/{organization}/provisionerkeys:
    get:
      operationId: list-provisioner-key
      summary: List provisioner key
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.ProvisionerKey'
    post:
      operationId: create-provisioner-key
      summary: Create provisioner key
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.CreateProvisionerKeyResponse'
  /api/v2/organizations/{organization}/provisionerkeys/daemons:
    get:
      operationId: list-provisioner-key-daemons
      summary: List provisioner key daemons
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/codersdk.ProvisionerKeyDaemons'
  /api/v2/organizations/{organization}/provisionerkeys/{provisionerkey}:
    delete:
      operationId: delete-provisioner-key
      summary: Delete provisioner key
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      - name: provisionerkey
        in: path
        required: true
        description: Provisioner key name
        schema:
          type: string
      responses:
        '204':
          description: No Content
  /api/v2/organizations/{organization}/settings/idpsync/available-fields:
    get:
      operationId: get-the-available-organization-idp-sync-claim-fields
      summary: Get the available organization idp sync claim fields
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
  /api/v2/organizations/{organization}/settings/idpsync/field-values:
    get:
      operationId: get-the-organization-idp-sync-claim-field-values
      summary: Get the organization idp sync claim field values
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      - name: claimField
        in: query
        required: true
        description: Claim Field
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
  /api/v2/organizations/{organization}/settings/idpsync/groups:
    get:
      operationId: get-group-idp-sync-settings-by-organization
      summary: Get group IdP Sync settings by organization
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupSyncSettings'
    patch:
      operationId: update-group-idp-sync-settings-by-organization
      summary: Update group IdP Sync settings by organization
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.GroupSyncSettings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupSyncSettings'
  /api/v2/organizations/{organization}/settings/idpsync/groups/config:
    patch:
      operationId: update-group-idp-sync-config
      summary: Update group IdP Sync config
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID or name
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PatchGroupIDPSyncConfigRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupSyncSettings'
  /api/v2/organizations/{organization}/settings/idpsync/groups/mapping:
    patch:
      operationId: update-group-idp-sync-mapping
      summary: Update group IdP Sync mapping
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID or name
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PatchGroupIDPSyncMappingRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.GroupSyncSettings'
  /api/v2/organizations/{organization}/settings/idpsync/roles:
    get:
      operationId: get-role-idp-sync-settings-by-organization
      summary: Get role IdP Sync settings by organization
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.RoleSyncSettings'
    patch:
      operationId: update-role-idp-sync-settings-by-organization
      summary: Update role IdP Sync settings by organization
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.RoleSyncSettings'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.RoleSyncSettings'
  /api/v2/organizations/{organization}/settings/idpsync/roles/config:
    patch:
      operationId: update-role-idp-sync-config
      summary: Update role IdP Sync config
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID or name
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PatchRoleIDPSyncConfigRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/codersdk.RoleSyncSettings'
  /api/v2/organizations/{organization}/settings/idpsync/roles/mapping:
    patch:
      operationId: update-role-idp-sync-mapping
      summary: Update role IdP Sync mapping
      tags:
      - Enterprise
      security:
      - CoderSessionToken: []
      parameters:
      - name: organization
        in: path
        required: true
        description: Organization ID or name
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/codersdk.PatchRoleIDPSyncMappingRequest'
      responses:
        '200':
          description: OK
          content:
            applica

# --- truncated at 32 KB (120 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/coder/refs/heads/main/openapi/coder-enterprise-api-openapi.yml