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

# 組織レベルの Devin ACU の上限を設定

> org-level Devin ACU の上限を作成または更新します。

> [!NOTE]
>
> このエンドポイントは引き続きサポートされています。組織自体の予算の上限を設定します。お客様の企業で予算の上限が強制適用されている場合、組織が[予算](https://docs.devin.ai/ja/admin/billing/budgets.md)を共有しているか、Account 予算の直下に配置されていると、このエンドポイントは `409` を返します。その場合は、[予算更新エンドポイント](https://docs.devin.ai/ja/admin/billing/budgets.md#update-a-budget)を使用して、予算側で上限を設定してください。

## 権限

Enterprise レベルで `ManageBilling` 権限を持つ[サービスユーザー](https://docs.devin.ai/ja/api-reference/v3/service-users/members-service-users.md)または[パーソナルアクセストークン](https://docs.devin.ai/ja/api-reference/personal-access-tokens.md)が必要です。


## OpenAPI

````yaml ja/v3-openapi.json PUT /v3/enterprise/consumption/acu-limits/devin/organizations/{org_id}
openapi: 3.1.0
info:
  title: Devin API v3
  description: サービスユーザー認証とRBACに対応したDevin v3 API
  version: 3.0.0
servers: []
security:
  - bearerAuth: []
paths:
  /v3/enterprise/consumption/acu-limits/devin/organizations/{org_id}:
    put:
      tags:
        - acu-limits
      summary: 組織レベルの Devin ACU の上限を設定
      description: org-level Devin ACU の上限を作成または更新します。
      operationId: >-
        handle_set_org_devin_acu_limit_v3_enterprise_consumption_acu_limits_devin_organizations__org_id__put
      parameters:
        - name: org_id
          in: path
          required: true
          schema:
            type: string
            title: Org Id
            example: org-abc123def456
          description: '組織ID（プレフィックス: org-）'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateACULimitRequest'
      responses:
        '204':
          description: 成功レスポンス
        '401':
          description: 未認証
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '403':
          description: アクセス禁止
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '404':
          description: 見つかりません
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '409':
          description: 競合
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '410':
          description: リソースは利用できなくなりました
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '422':
          description: 処理できないコンテンツ
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
        '429':
          description: リクエストが多すぎます
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProblemDetail'
components:
  schemas:
    UpdateACULimitRequest:
      properties:
        cycle_acu_limit:
          type: integer
          minimum: 0
          title: Cycle Acu Limit
      type: object
      required:
        - cycle_acu_limit
      title: UpdateACULimitRequest
    ProblemDetail:
      properties:
        type:
          type: string
          title: Type
          description: 問題タイプを識別する URI 参照。
          default: about:blank
        title:
          type: string
          title: Title
          description: 問題タイプの、人が読める短い要約。
        status:
          type: integer
          title: Status
          description: HTTP ステータスコード。
        detail:
          anyOf:
            - type: string
            - type: 'null'
          title: Detail
          description: この発生事象に固有の、人が読める説明。
        instance:
          anyOf:
            - type: string
            - type: 'null'
          title: Instance
          description: この発生事象の URI 参照（リクエストパス）。
        errors:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Errors
          description: フィールド単位のバリデーションエラー（422レスポンスの場合のみ）。
        error_code:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Code
          description: ブロックされた操作の拒否理由を示す機械可読コード（例："user_frozen", "migrated_session"）。
      type: object
      required:
        - title
        - status
      title: ProblemDetail
      description: >-
        v3 API 向けの RFC 9457 application/problem+json エラーボディ。


        detail は後方互換性のため、レガシーな {"detail": ...}
        ボディから引き続き保持されています。その他のメンバーは追加式です。errors にはフィールド単位の検証エラーが格納されます（422
        の場合のみ）。
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'サービスユーザーの credential（プレフィックス: cog_）'

````

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