Skip to main content
IBM Quantum Platform

계정


계정 구성 가져오기

현재 계정 정보를 가져옵니다. 계정 정보를 찾을 수 없는 경우 기본 구성을 반환합니다.

권한 부여

이 메소드를 호출하려면 다음 조치를 포함하는 하나 이상의 IAM 액세스 역할이 지정되어야 합니다. 다음으로 이동하여 액세스 권한을 확인할 수 있습니다. Users > User > Access

  • quantum-computing.account-configuration.read

감사

이 메소드를 호출하면 다음과 같은 감사 이벤트가 생성됩니다.

  • quantum-computing.account-configuration.read

입력

경로 매개변수
이름, 유형
설명
id
필수
string

계정 아이디( a/ 접두사 제외)

쿼리 매개변수
이름, 유형
설명
plan_id
string

지정된 요금제에 대해서만 계정 구성을 가져옵니다

코드 샘플
GET
/v1/accounts/{id}

인스턴스가 eu-de 리전에 있는 경우, 대신 URL 를 사용하세요: https://eu-de.quantum.cloud.ibm.com/api/v1/accounts/{id}

curl -X GET \
  'https://quantum.cloud.ibm.com/api/v1/accounts/{id}' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer YOUR-TOKEN' \
  -H 'Service-CRN: YOUR-SERVICE-CRN' \
  -H 'IBM-API-Version: 2024-01-01'

출력

HTTP 응답 상태 코드
상태 코드
설명
200계정 구성이 성공적으로 검색되었습니다
400잘못된 요청
401권한 없음
404찾을 수 없음
500내부 오류
응답
{
  "plans": [
    {
      "plan_id": "flex-plan-id-1",
      "subscription_id": "53bde9d3-cdbb-46f5-a98f-60ebcadf7260",
      "subscription_name": "flex",
      "usage_allocation_seconds": 200,
      "usage_limit_seconds": 200,
      "unallocated_usage_seconds": 200,
      "backends": [
        "ibm_backend"
      ],
      "max_ttl": 28800,
      "active_ttl": 28800,
      "interactive_ttl": 60,
      "start_time": "2025-05-17T00:00:00Z",
      "end_time": "2026-05-17T00:00:00Z"
    },
    {
      "plan_id": "plan-id-2",
      "subscription_id": "52fde9d3-cdbb-46f5-a98f-60ebchdf7260",
      "subscription_name": "open",
      "usage_allocation_seconds": 150,
      "usage_limit_seconds": 300,
      "unallocated_usage_seconds": 10,
      "backends": [
        "backend1",
        "backend2"
      ]
    },
    {
      "plan_id": "plan-id-3",
      "subscription_id": "91b2c828-2952-4f05-aed8-bedf92c6c480",
      "subscription_name": "internal",
      "backends": [
        "backend1",
        "backend2"
      ]
    }
  ]
}
이 페이지가 도움이 되었습니까?
GitHub에서 버그, 오타를 보고하거나 컨텐츠를 요청하십시오.