조직 서비스 계정 나열

얻다 /api/v1/organizations/{id}/service-accounts

조직 범위 고객 서비스 계정을 나열합니다. ORG_ADMIN 또는 ORG_MEMBER(읽기 전용)가 필요합니다.

경로 매개변수

  • id 문자열 필수 사항

    조직 ID

쿼리 매개변수

  • limit integer

    페이지 크기(기본값 50, 최대 200)

  • cursor 문자열

    이전 응답의 Next_cursor에서 키 커서

응답

  • 지원되지 않거나 잘못된 API 버전, 선택한 게시된 계약에서 사용할 수 없는 작업 또는 허용되지 않는 표현(지원되지 않는 미디어 유형 매개변수 또는 제외된 SSE 포함). 기존 인증, 권한 부여 및 속도 제한 실패가 우선적으로 적용됩니다.

    응답 속성 숨기기 응답 속성 표시 객체
    • badRequestDetail 객체

      표준 오류 스키마 에 정의된 선택적 유효성 검사 세부 정보입니다. API 협상 오류는 이 필드 내보내지 않습니다.

      badRequestDetail 속성 숨기기 badRequestDetail 속성 표시 객체
      • 필드 배열[객체]

        유효성 검사 에 실패한 필드입니다.

        필드 속성 숨기기 필드 속성 표시 객체

        필드 및 해당 유효성 검사 실패.

        • description 문자열 필수 사항

          사람이 읽을 수 있는 유효성 검사 실패.

        • 필드 문자열 필수 사항

          잘못된 요청 필드 의 이름 또는 경로입니다.

    • 세부 정보 문자열 필수 사항

      사람이 읽을 수 있는 오류 세부 정보.

    • 오류 integer 필수 사항

      HTTP status code.

    • 오류 코드 문자열 필수 사항

      기계가 읽을 수 있는 오류 코드입니다.

    • 매개변수 array[string]

      오류와 관련된 요청 매개변수 이름입니다. 적용 않는 경우 생략됩니다.

    • 이유 문자열 필수 사항

      HTTP 상태 이유 구문입니다.

    응답 속성 숨기기 응답 속성 표시 객체
    • badRequestDetail 객체

      표준 오류 스키마 에 정의된 선택적 유효성 검사 세부 정보입니다. API 협상 오류는 이 필드 내보내지 않습니다.

      badRequestDetail 속성 숨기기 badRequestDetail 속성 표시 객체
      • 필드 배열[객체]

        유효성 검사 에 실패한 필드입니다.

        필드 속성 숨기기 필드 속성 표시 객체

        필드 및 해당 유효성 검사 실패.

        • description 문자열 필수 사항

          사람이 읽을 수 있는 유효성 검사 실패.

        • 필드 문자열 필수 사항

          잘못된 요청 필드 의 이름 또는 경로입니다.

    • 세부 정보 문자열 필수 사항

      사람이 읽을 수 있는 오류 세부 정보.

    • 오류 integer 필수 사항

      HTTP status code.

    • 오류 코드 문자열 필수 사항

      기계가 읽을 수 있는 오류 코드입니다.

    • 매개변수 array[string]

      오류와 관련된 요청 매개변수 이름입니다. 적용 않는 경우 생략됩니다.

    • 이유 문자열 필수 사항

      HTTP 상태 이유 구문입니다.

  • 200

    확인

    응답 속성 숨기기 응답 속성 표시 객체
    • 호출자_ip 문자열

      호출자IP는 게이트웨이에서 볼 수 있는 관리자의 IP 입니다(Gin ClientIP/신뢰할 수 있는 프록시). 알 수 없는 경우 생략됩니다. 여기에 피기백되어 IP 액세스 목록 UI 캐시된 목록 응답에서 읽을 수 있습니다(Atlas 스타일, 전용 에코 API 없음).

    • Next_cursor 문자열

      NextCursor는 다음 페이지의 키 세트 커서 입니다. 이 페이지가 마지막이면 비어 있습니다. total 은 커서 무시하고 항상 전체 범위를 계산합니다.

    • service_accounts 배열[객체]
      service_accounts 속성 숨기기 service_accounts 속성 표시 객체
      • active_secret 객체
        active_secret 속성 숨기기 active_secret 속성 표시 객체
        • created_at 문자열
        • expires_at 문자열
        • last_used_at 문자열
        • masked_value 문자열
      • client_id 문자열
      • created_at 문자열
      • description 문자열
      • id 문자열
      • ip_access_list array[string]
      • is_active 부울
      • is_system_managed 부울
      • 이름 문자열
      • org_id 문자열
      • 소유자 문자열
      • PROJECT_ID 문자열
      • role_assignments 배열[객체]
        role_assignments 속성 숨기기 role_assignments 속성 표시 객체
        • org_id 문자열
        • PROJECT_ID 문자열
        • 역할 문자열
      • 유형 문자열
      • updated_at 문자열
    • 합계 integer
    응답 속성 숨기기 응답 속성 표시 객체
    • 호출자_ip 문자열

      호출자IP는 게이트웨이에서 볼 수 있는 관리자의 IP 입니다(Gin ClientIP/신뢰할 수 있는 프록시). 알 수 없는 경우 생략됩니다. 여기에 피기백되어 IP 액세스 목록 UI 캐시된 목록 응답에서 읽을 수 있습니다(Atlas 스타일, 전용 에코 API 없음).

    • Next_cursor 문자열

      NextCursor는 다음 페이지의 키 세트 커서 입니다. 이 페이지가 마지막이면 비어 있습니다. total 은 커서 무시하고 항상 전체 범위를 계산합니다.

    • service_accounts 배열[객체]
      service_accounts 속성 숨기기 service_accounts 속성 표시 객체
      • active_secret 객체
        active_secret 속성 숨기기 active_secret 속성 표시 객체
        • created_at 문자열
        • expires_at 문자열
        • last_used_at 문자열
        • masked_value 문자열
      • client_id 문자열
      • created_at 문자열
      • description 문자열
      • id 문자열
      • ip_access_list array[string]
      • is_active 부울
      • is_system_managed 부울
      • 이름 문자열
      • org_id 문자열
      • 소유자 문자열
      • PROJECT_ID 문자열
      • role_assignments 배열[객체]
        role_assignments 속성 숨기기 role_assignments 속성 표시 객체
        • org_id 문자열
        • PROJECT_ID 문자열
        • 역할 문자열
      • 유형 문자열
      • updated_at 문자열
    • 합계 integer
  • 잘못된 요청

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
  • Forbidden

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
  • 찾을 수 없습니다.

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
  • 내부 서버 오류

    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
    응답 속성 숨기기 응답 속성 표시 객체
    • 코드 문자열
    • 오류 문자열
    • Success 부울
GET /api/v1/organizations/{id}/service-accounts
curl \
 --request GET 'https://agentengine.mongodb.com/api/v1/organizations/{id}/service-accounts' \
 --header "Authorization: $API_KEY"
응답 예시(406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "This operation supports text/event-stream, which the Accept header excludes. Remove unsupported media-type parameters or accept this type with a positive q value.",
  "error": 406,
  "errorCode": "UNACCEPTABLE_MEDIA_TYPE",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
{
  "detail": "The requested API version is not supported. Supported versions: 2026-09-20-preview.",
  "error": 406,
  "errorCode": "UNSUPPORTED_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
응답 예시(406)
{
  "detail": "This operation is not available in API version 2026-09-20-preview.",
  "error": 406,
  "errorCode": "OPERATION_NOT_IN_API_VERSION",
  "parameters": [
    "Accept"
  ],
  "reason": "Not Acceptable"
}
응답 예시(200)
{
  "caller_ip": "string",
  "next_cursor": "string",
  "service_accounts": [
    {
      "active_secret": {
        "created_at": "string",
        "expires_at": "string",
        "last_used_at": "string",
        "masked_value": "string"
      },
      "client_id": "string",
      "created_at": "string",
      "description": "string",
      "id": "string",
      "ip_access_list": [
        "string"
      ],
      "is_active": true,
      "is_system_managed": true,
      "name": "string",
      "org_id": "string",
      "owner": "string",
      "project_id": "string",
      "role_assignments": [
        {
          "org_id": "string",
          "project_id": "string",
          "role": "string"
        }
      ],
      "type": "string",
      "updated_at": "string"
    }
  ],
  "total": 42
}
응답 예시(200)
{
  "caller_ip": "string",
  "next_cursor": "string",
  "service_accounts": [
    {
      "active_secret": {
        "created_at": "string",
        "expires_at": "string",
        "last_used_at": "string",
        "masked_value": "string"
      },
      "client_id": "string",
      "created_at": "string",
      "description": "string",
      "id": "string",
      "ip_access_list": [
        "string"
      ],
      "is_active": true,
      "is_system_managed": true,
      "name": "string",
      "org_id": "string",
      "owner": "string",
      "project_id": "string",
      "role_assignments": [
        {
          "org_id": "string",
          "project_id": "string",
          "role": "string"
        }
      ],
      "type": "string",
      "updated_at": "string"
    }
  ],
  "total": 42
}
응답 예시(400)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(400)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(403)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(403)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(404)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(404)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(500)
{
  "code": "string",
  "error": "string",
  "success": true
}
응답 예시(500)
{
  "code": "string",
  "error": "string",
  "success": true
}