Skip to content

조직의 Email MFA 정책을 생성하거나 업데이트

조직의 Email MFA 정책을 생성하거나 업데이트합니다.

HTTP 요청

http
PUT https://<your-console-host>/api/v1/iam/authn/organizations/{org_id}/email-mfa-policy

URI 매개변수

이름위치필수형식설명
org_idpath필수string조직 ID

요청 헤더

인증 헤더는 모든 API 가 같습니다. 공통 규약을 참고하십시오.

요청 본문

이름필수형식설명
enabled선택boolean이메일 OTP 사용 여부 (토글 On/Off). 기본값 true
codeDigits선택integerMFA 코드 자릿수 (6 or 8). 기본값 6. 범위 6~8
codeValiditySeconds선택integerMFA 코드 유효 시간 (초 단위, 기본: 300 = 5분). 기본값 300
resendCooldownSeconds선택integerMFA 코드 재요청 쿨다운 (초 단위). 기본값 60. 범위 0~
maxAttempts선택integerMFA 코드 검증 최대 시도 횟수. 기본값 5

응답

상태 코드설명
200 OKSuccessful Response
422 Unprocessable EntityValidation Error

위 표는 정상 응답과 요청 검증 실패만 나열합니다. 이 API 는 그 밖에 401(인증 실패) · 403(권한 없음) · 404(리소스 없음) · 409(중복·상태 충돌) · 502(인프라 오류)를 반환할 수 있습니다. 조건은 오류 처리를 참고하십시오.

응답 본문 — 200

이름필수형식설명
message선택string 또는 null응답 메시지
timestamp선택string응답 생성 시간
requestId필수string요청 식별자
result필수object결과 데이터
result.policyId필수string정책 ID
result.orgId필수string조직 ID
result.enabled필수booleanEmail MFA 활성화 여부
result.codeDigits필수integerMFA 코드 자릿수. 범위 6~8
result.codeValiditySeconds필수integer코드 유효 시간 (초)
result.resendCooldownSeconds필수integer재전송 쿨다운 (초). 범위 0~
result.maxAttempts필수integer최대 시도 횟수
result.attemptWindowSeconds필수integer시도 추적 시간 윈도우 (초)
result.updatedBy선택string 또는 null최종 수정자 TPN

Thaki Cloud Aegis — 연동 개발자용 API 문서