Join us Sept 17 at .local NYC! Use code WEB50 to save 50% on tickets. Learn more >
MongoDB Event
Docs Menu
Docs Home
/
MongoCLI
/ / / /

mongocli iam 조직 초대 설명

지정된 대기 중인 초대에 대한 세부 정보를 조직에 반환합니다.

이 명령을 사용하려면 조직 사용자 관리자 역할이 있는 사용자 계정 또는 API 키로 인증해야 합니다.

명령 구문
mongocli iam organizations invitations describe <invitationId> [options]
이름
유형
필수 사항
설명

invitationId

문자열

true

초대를 식별하는 고유한 24자리 문자열입니다.

이름
유형
필수 사항
설명

-h, --help

거짓

설명 도움말

--orgId

문자열

거짓

사용할 조직 ID입니다. 이 옵션은 구성 파일 또는 환경 변수의 설정을 재정의합니다.

-o, --output

문자열

거짓

출력 형식입니다. 유효한 값은 json, json-path, go-템플릿 또는 go-템플릿 파일입니다. 전체 출력을 보려면 -o json 옵션을 사용합니다.

이름
유형
필수 사항
설명

-P, --profile

문자열

거짓

구성 파일 에서 사용할 프로필의 이름입니다. MongoCLI의 프로필에 대해 학습 https://dochub.mongodb.org/core/atlas-cli-configuration-file을 참조하세요.

명령이 성공하면 Atlas CLI는 다음 샘플과 유사한 출력을 반환합니다. 괄호 안의 값은 사용자의 값을 나타냅니다.

ID USERNAME CREATED AT EXPIRES AT
<ID> <Username> <CreatedAt> <ExpiresAt>
# Return the JSON-formatted details of the pending invitation with the ID 5dd56c847a3e5a1f363d424d for the organization with the ID 5f71e5255afec75a3d0f96dc:
mongocli organizations invitations describe 5dd56c847a3e5a1f363d424d --orgId 5f71e5255afec75a3d0f96dc --output json

돌아가기

삭제

이 페이지의 내용