--- title: "rejectReceivedInvitation" slug: "pub-organization-v2-account-rejectreceivedinvitation" updated: 2026-11-24T09:24:32Z published: 2026-11-24T09:24:32Z canonical: "api.ncloud-docs.com/pub-organization-v2-account-rejectreceivedinvitation" --- > ## 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. # rejectReceivedInvitation 이 가이드는 API 명세를 기반으로 자동 생성했습니다. Classic/VPC 환경에서 이용 가능합니다. Ncloud API 표준 규격을 적용한 API입니다. 받은 Organization 초대를 거절합니다. - 초대받은 독립 계정이 호출합니다. - 핀 코드 없이 거절할 수 있으며, 만료된 초대도 거절할 수 있습니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /open-api/v2/received-invitations/{organizationNo}/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 번호. 받은 초대 목록 조회(`GET /received-invitations`)로 확인할 수 있음 - 범위: 1 ~ - <예시> 2712 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request POST 'https://organization.apigw.ntruss.com/open-api/v2/received-invitations/2712/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 | `InvalidParameter` | `The specified parameter is invalid.` | organizationNo가 1 이상의 정수가 아닌 경우. 받은 초대 목록 조회 응답의 organizationNo를 지정해 다시 요청 | | 403 | `AccessDenied` | `The request was denied by an access policy.` | 민간 회원이 아닌 계정으로 호출한 경우. 민간 회원 계정의 인증 정보로 다시 요청 | | 403 | `Forbidden` | `You do not have sufficient permissions to perform this action.` | 서브 계정으로 호출했는데 이 API를 호출할 권한이 없는 경우. 서브 계정에 필요한 권한을 부여한 뒤 다시 요청 | | 404 | `ResourceNotFound` | `The specified resource could not be found.` | 지정한 Organization(organizationNo)의 활성 초대(승인·거절·취소되지 않은 초대)가 없는 경우. 받은 초대 목록 조회로 초대를 확인한 뒤 다시 요청 | | 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)를 참조해 주십시오.