SAKURA internet Group API

グループに関する機能

Operations 7

GET /groups グループ一覧を取得する #
POST /groups グループを作成する #
GET /groups/{group_id} 指定したグループを取得する #
PUT /groups/{group_id} 指定したグループを更新する #
DELETE /groups/{group_id} 指定したグループを削除する #
GET /groups/{group_id}/memberships グループの所属情報を取得する #
PUT /groups/{group_id}/memberships グループの所属情報を更新する #

Documentation

📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/addon-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/ai-engine-inference-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/ai-engine-rag-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/apigw-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/apprun-dedicated-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/apprun-shared-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/eventbus-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/iam-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/monitoring-suite-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/networking-suite-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/nosql-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/objectstorage-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/security-control-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/security-encryption-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/seg-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/simple-notification-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/simplemq-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/simplemq-sacloud-api/index.html
📖
Documentation
https://manual.sakura.ad.jp/api/cloud/portal/workflows-api/index.html
📖
Documentation
https://github.com/sacloud/phy-api-go

Specifications

Schemas & Data

📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-search-post-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-streaming-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-datalake-post-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-deployment-status-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-ddos-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-waf-request-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-tts-synthesis-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-tts-audio-query-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-speech-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-chat-completion-request-tool-message-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-chat-completion-request-developer-message-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-chat-completion-request-system-message-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-chat-query-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-query-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-document-upload-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-document-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-document-chunk-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-document-list-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-route-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-oidc-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-get-certificates-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-plan-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-domain-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-certificate-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-application-version-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-list-worker-nodes-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-list-load-balancer-nodes-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-auto-scaling-group-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-cluster-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-read-worker-node-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-patch-application-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-application-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-handler-create-application-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-handler-read-application-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-handler-patch-application-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-handler-read-version-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-common-service-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-common-service-item-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-update-common-service-item-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-set-secret-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-user-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-ssoprofile-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-auth-conditions-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-project-api-key-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-project-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-service-principal-key-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-wrapped-log-storage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-log-storage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-wrapped-trace-storage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-wrapped-metrics-storage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-trace-storage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-metrics-storage-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-subnet-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-subnet-group-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-subnet-group-list-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-subnet-list-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-address-list-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-interface-connection-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-nosql-create-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-nosql-status-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-bucket-billing-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-quota-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-bucket-penalty-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-plan-item-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-plan-change-req-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-status-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-automated-action-output-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-automated-action-input-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-activation-output-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-evaluation-rule-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-activation-update-input-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-activation-create-input-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-cloud-hsmdocument-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-cloud-hsmsoftware-license-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-cloud-hsmclient-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-secret-response-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-cloud-hsmlist-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-paginated-vault-list-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-models-appliance-list-service-endpoint-gateways-response-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-models-appliance-read-service-endpoint-gateway-response-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-models-appliance-create-service-endpoint-gateway-response-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-models-appliance-appliance-apply-response-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-models-appliance-update-service-endpoint-gateway-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-models-appliance-read-service-endpoint-gateway-interface-response-body-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-post-common-service-item-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-put-common-service-item-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-reorder-notification-routing-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-list-common-service-items-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-check-destination-status-response-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-new-message-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-message-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-send-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-create-queue-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-config-queue-request-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-server-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-dedicated-subnet-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-interface-port-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-service-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-private-network-schema.json
📊
JSONSchema
https://raw.githubusercontent.com/api-evangelist/sakura-internet/refs/heads/main/json-schema/sakura-internet-port-channel-schema.json

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/sakura-internet:sakura-internet-group-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

sakura-internet-group-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sakura Internet Group API
  version: 2.1.0
  contact:
    name: SAKURA internet Inc.
  description: 'Operations tagged group across 2 of this provider''s published API definitions: iam-api.yaml, sakura-internet-iam-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://secure.sakura.ad.jp/cloud/api/iam/1.0
security:
- ServicePrincipalAuth: []
tags:
- name: Group
  x-displayName: グループ
  description: グループに関する機能
paths:
  /groups:
    get:
      operationId: listGroups
      tags:
      - Group
      summary: グループ一覧を取得する
      parameters:
      - $ref: '#/components/parameters/PaginationPage'
      - $ref: '#/components/parameters/PaginationPerPage'
      - name: ordering
        in: query
        description: '並び替えキー

          * `name` - グループ名昇順

          * `-name` - グループ名降順

          '
        schema:
          type: string
          enum:
          - name
          - -name
      - name: compat_user_id
        in: query
        description: 所属するユーザIDでの絞り込み
        schema:
          type: integer
          example: 111111111111
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                allOf:
                - type: object
                  required:
                  - items
                  properties:
                    items:
                      type: array
                      items:
                        $ref: '#/components/schemas/Group'
                - $ref: '#/components/schemas/Pagination'
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
    post:
      operationId: createGroup
      tags:
      - Group
      summary: グループを作成する
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                  example: マイグループ
                  description: グループの名前
                description:
                  type: string
                  example: グループの説明
              required:
              - name
              - description
      responses:
        '201':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
        '400':
          description: 不正なリクエスト
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http400BadRequest'
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '409':
          description: グループ数の上限到達
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http409Conflict'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
        '503':
          description: 一時的な処理エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http503ServiceUnavailable'
    servers:
    - url: https://secure.sakura.ad.jp/cloud/api/iam/1.0
  /groups/{group_id}:
    parameters:
    - $ref: '#/components/parameters/GroupID'
    get:
      operationId: readGroup
      tags:
      - Group
      summary: 指定したグループを取得する
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '404':
          description: 指定したグループが存在しない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http404NotFound'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
    put:
      operationId: updateGroup
      tags:
      - Group
      summary: 指定したグループを更新する
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - name
              - description
              properties:
                name:
                  type: string
                  example: グループの名前
                description:
                  type: string
                  example: グループの説明
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Group'
        '400':
          description: 不正なリクエスト
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http400BadRequest'
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '404':
          description: 指定したグループが存在しない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http404NotFound'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
        '503':
          description: 一時的な処理エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http503ServiceUnavailable'
    delete:
      operationId: deleteGroup
      tags:
      - Group
      summary: 指定したグループを削除する
      responses:
        '204':
          description: 成功
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '404':
          description: 指定したグループが存在しない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http404NotFound'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
        '503':
          description: 一時的な処理エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http503ServiceUnavailable'
    servers:
    - url: https://secure.sakura.ad.jp/cloud/api/iam/1.0
  /groups/{group_id}/memberships:
    parameters:
    - $ref: '#/components/parameters/GroupID'
    get:
      operationId: listMemberships
      tags:
      - Group
      summary: グループの所属情報を取得する
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupMemberships'
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '404':
          description: 指定したグループが存在しない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http404NotFound'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
    put:
      operationId: updateMemberships
      tags:
      - Group
      summary: グループの所属情報を更新する
      requestBody:
        description: グループの所属情報
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - compat_users
              properties:
                compat_users:
                  type: array
                  items:
                    type: object
                    required:
                    - id
                    properties:
                      id:
                        type: integer
                        description: ユーザID
                        example: 111111111111
      responses:
        '200':
          description: 成功
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GroupMemberships'
        '400':
          description: 不正なリクエスト
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http400BadRequest'
        '401':
          description: 認証情報が無効
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http401Unauthorized'
        '403':
          description: アクセス権限がない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http403Forbidden'
        '404':
          description: 指定したグループが存在しない
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http404NotFound'
        '429':
          description: APIリクエストのレートリミット超過
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http429TooManyRequests'
        '503':
          description: 一時的な処理エラー
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Http503ServiceUnavailable'
    servers:
    - url: https://secure.sakura.ad.jp/cloud/api/iam/1.0
components:
  schemas:
    Http404NotFound:
      type: object
      required:
      - type
      - status
      - title
      - detail
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 404
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: not_found
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: 見つかりませんでした。
    Http429TooManyRequests:
      type: object
      required:
      - type
      - status
      - title
      - detail
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 429
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: throttled
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: リクエストの処理は絞られました。 60秒後に利用可能になります。
    Http503ServiceUnavailable:
      type: object
      required:
      - type
      - status
      - title
      - detail
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 503
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: temporary_unavailable
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: 一時的にエラーが発生しました。
    Http409Conflict:
      type: object
      required:
      - type
      - status
      - title
      - detail
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 409
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: conflict
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: 状態の競合によりリクエストを処理できません。
    Http403Forbidden:
      type: object
      required:
      - type
      - status
      - title
      - detail
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 403
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: permission_denied
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: このアクションを実行する権限がありません。
    GroupMemberships:
      type: object
      required:
      - compat_users
      properties:
        compat_users:
          type: array
          items:
            type: object
            required:
            - id
            properties:
              id:
                type: integer
                description: ユーザID
                example: 111111111111
    Http400BadRequest:
      type: object
      required:
      - type
      - status
      - title
      - detail
      - errors
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 400
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: invalid
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: 不正な入力です。
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: object
              required:
              - message
              - code
              properties:
                message:
                  type: string
                  description: エラー内容を説明した文字列
                code:
                  type: string
                  description: エラーの内容を表す文字列
            description: リクエストボディの特定キーに関するエラー
          properties:
            non_field_errors:
              type: array
              items:
                type: object
                required:
                - message
                - code
                properties:
                  message:
                    type: string
                    description: エラー内容を説明した文字列
                  code:
                    type: string
                    description: エラーの内容を表す文字列
              description: リクエストボディの特定キーに関係しないエラー
          example:
            key1:
            - message: この項目は必須です。
              code: required
            key2:
            - message: 有効な値ではありません。
              code: invalid
            key3:
            - message: この項目は少なくとも*文字以上にしてください。
              code: min_length
            key4:
            - message: この項目が*文字より長くならないようにしてください。
              code: max_length
    Pagination:
      type: object
      required:
      - count
      - next
      - previous
      properties:
        count:
          type: integer
          description: データ総数
          example: 100
        next:
          type:
          - string
          - 'null'
          format: uri
          description: 次のページへのURL
          example: https://api.example.com/?page=3&per_page=10
        previous:
          type:
          - string
          - 'null'
          format: uri
          description: 前のページへのURL
          example: https://api.example.com/?per_page=10
    Group:
      type: object
      required:
      - id
      - name
      - description
      - created_at
      - updated_at
      properties:
        id:
          type: integer
          description: グループID
          readOnly: true
          example: 1
        name:
          type: string
          description: グループ名
          example: グループの名前
        description:
          type: string
          description: グループの説明
          example: グループの説明
        created_at:
          type: string
          description: 作成日時
          readOnly: true
          example: 2024-05-02 16:32:23+00:00
        updated_at:
          type: string
          description: 更新日時
          readOnly: true
          example: 2024-05-02 16:32:23+00:00
    Http401Unauthorized:
      type: object
      required:
      - type
      - status
      - title
      - detail
      properties:
        type:
          type: string
          description: 問題を説明するドキュメントへのURI(基本的にはabout:blank)
          example: about:blank
        status:
          type: integer
          description: HTTPステータスコード
          example: 401
        title:
          type: string
          description: 問題を表す簡単な文字列
          example: authentication_failed
        detail:
          type: string
          description: 問題の詳細を説明した文字列(人が読んで問題解決に繋がるような説明)
          example: 認証情報が含まれていません。
  parameters:
    PaginationPage:
      in: query
      name: page
      schema:
        type: integer
    GroupID:
      in: path
      name: group_id
      description: グループID
      required: true
      schema:
        type: integer
    PaginationPerPage:
      in: query
      name: per_page
      schema:
        type: integer
  securitySchemes:
    ServicePrincipalAuth:
      description: 'サービスプリンシパル認証

        - サービスプリンシパルのアクセストークンを指定

        '
      type: http
      scheme: bearer
    ProjectApiKeyAuth:
      description: 'APIキー認証

        - ユーザー名に発行したAPIキーのアクセストークンを指定

        - パスワードに発行したAPIキーのアクセストークンシークレットを指定

        '
      type: http
      scheme: basic
x-refined-from:
- iam-api.yaml
- sakura-internet-iam-openapi.yml