> ## Documentation Index
> Fetch the complete documentation index at: https://developers.argosidentity.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DELETE/Projection

> 이 API를 사용하면 해당 프로젝트에 존재하는 Projection 을 삭제할 수 있습니다.

<Note>
  Projection 이 적용된 Submission 의 Exclude 된 정보 재노출을 원한다면 projectionId 를 이용하여 DELETE/Projection 을 진행해야 합니다.
</Note>

## 1. 엔드포인트

```text DELETE/projection theme={null}
DELETE https://rest-api.argosidentity.com/v3/projection/{projectionId}
```

## 2. 인증

`x-api-key` 헤더에 API 키를 포함시켜야 합니다:

```text x-api-key theme={null}
x-api-key: {yourAPIKey}
```

## 3. 요청 파라미터

요청 파라미터는 URL query 형식이어야 합니다.

<ResponseField name="projectionId" type="string" required>
  The unique ID of a projection
</ResponseField>

## 4. 요청 예시

<Warning>
  파라메터 기재시 projectionId 값만 기재하셔야 합니다. projectionId= 형식으로 기재하시면 동작하지 않습니다.

  * [https://rest-api.argosidentity.com/v3/projection/55sqp8ma0jvwh](https://rest-api.argosidentity.com/v3/projection/**55sqp8ma0jvwh) (O)
  * [https://rest-api.argosidentity.com/v3/projection/projectionId=55sqp8ma0jvwh](https://rest-api.argosidentity.com/v3/projection/projectionId=55sqp8ma0jvwh) (X)
</Warning>

```curl DELETE/Projection theme={null}
curl --location --request DELETE 'https://rest-api.argosidentity.com/v3/projection/{projectrionId}' \
--header 'x-api-key: {yourAPIKey}'
```

## 5. 응답

### 5-1. 성공 응답

<CodeGroup>
  ```json result-delete-projection.json theme={null}
  {
      "message": "Delete projection success"
  }
  ```
</CodeGroup>

### 5-2. 오류 코드

| 상태 코드 | 오류 메시지                                                | 설명                                            |
| ----- | ----------------------------------------------------- | --------------------------------------------- |
| 404   | Projection not found                                  | 삭제하려는 Projection ID 를 찾을 수 없음                 |
| 405   | Method not allowed for /projections/projectionId path | GET, DELETE 이외의 HTTP 메서드(POST, PUT 등)로 요청한 경우 |
| 500   | Internal server error                                 | 서버 내부에서 처리되지 않은 예외가 발생한 경우                    |
