--- title: "rejectLeaveRequest" slug: "pub-organization-v2-account-rejectleaverequest" updated: 2026-11-24T09:24:32Z published: 2026-11-24T09:24:32Z canonical: "api.ncloud-docs.com/pub-organization-v2-account-rejectleaverequest" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # rejectLeaveRequest 이 가이드는 API 명세를 기반으로 자동 생성했습니다. Classic/VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. 멤버 계정의 Organization 탈퇴 신청을 반려합니다. - 마스터 계정만 호출할 수 있습니다. - 반려하면 멤버 계정은 Organization에 그대로 남습니다. 처리 결과는 메일로 안내됩니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /open-api/v2/organizations/{organizationNo}/leave-requests/{memberNo}/reject | ### 요청 헤더 Organization API에서 공통으로 사용하는 헤더에 대한 정보는 [Organization 요청 헤더](/docs/pub-organization-v2-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 경로 파라미터 요청 경로 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `organizationNo` | Integer (int32) | Required | Organization 번호. Organization 목록 조회(`GET /organizations`)로 확인할 수 있음 - 범위: 1 ~ - <예시> 2706 | | `memberNo` | Integer (int64) | Required | 탈퇴를 신청한 멤버 계정의 회원 번호. 탈퇴 신청 목록 조회(`GET /organizations/{organizationNo}/leave-requests`)로 확인할 수 있음 - 범위: 1 ~ - <예시> 2700001 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://organization.apigw.ntruss.com/open-api/v2/organizations/2706/leave-requests/2700001/reject' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 상태 코드 호출에 실패하면 [기본 오류 응답](/docs/type-error-response) 형식의 응답 바디를 반환하며, 오류 코드는 `error.errorCode` 값입니다. 응답 상태 코드에 대한 설명은 다음과 같습니다. | HTTP 상태 코드 | 코드 | 메시지 | 설명 | | --- | --- | --- | --- | | 204 | - | - | 탈퇴 신청 반려 완료 | | 400 | `InvalidOperation` | `The specified operation is invalid.` | memberNo에 마스터 계정을 지정한 경우. 마스터 계정은 탈퇴 신청 대상이 아니므로 탈퇴 신청 목록 조회 응답의 memberNo를 지정 | | 400 | `InvalidParameter` | `The specified parameter is invalid.` | organizationNo나 memberNo가 1 이상의 정수가 아닌 경우. 탈퇴 신청 목록 조회 응답의 번호를 지정해 다시 요청 | | 403 | `AccessDenied` | `The request was denied by an access policy.` | 민간 회원이 아닌 계정으로 호출한 경우. 민간 회원 계정의 인증 정보로 다시 요청 | | 403 | `Forbidden` | `You do not have sufficient permissions to perform this action.` | 호출한 계정이 지정한 Organization(organizationNo)의 마스터 계정이 아닌 경우. 지정한 Organization이 없는 경우도 같은 응답이며, Organization 목록 조회로 organizationNo를 확인하고 마스터 계정의 인증 정보로 다시 요청. 서브 계정으로 호출했는데 이 API를 호출할 권한이 없는 경우에도 이 응답이며, 서브 계정에 필요한 권한을 부여한 뒤 다시 요청 | | 404 | `ResourceNotFound` | `The specified resource could not be found.` | 지정한 Organization에 멤버 계정(memberNo)이 없는 경우. 다른 Organization의 자원을 지정한 경우도 같은 응답. 탈퇴 신청 목록 조회로 번호를 확인한 뒤 다시 요청 | | 409 | `Conflict` | `The request could not be processed because of a conflict in the current status of the resource.` | 탈퇴를 신청하지 않은 계정인 경우. 탈퇴 신청 목록 조회로 확인한 뒤 다시 요청 | | 500 | `InternalServerError` | `The request processing has failed because of an unknown error, exception, or failure.` | 탈퇴 신청을 반려하는 중 오류가 발생한 경우. 잠시 후 다시 요청 | | 502 | `BadGateway` | `The server received an invalid response from an upstream service. Retry your request later.` | 서브 계정의 권한을 확인하지 못한 경우. 잠시 후 다시 요청 | 참고 Organization API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Organization 응답 상태 코드](/docs/pub-organization-v2-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오.