

# 디렉터리 버킷의 액세스 포인트 삭제
<a name="access-points-directory-buckets-delete"></a>

이 섹션에서는 AWS Management Console, AWS Command Line Interface, REST API 또는 AWS SDK를 사용하여 액세스 포인트를 삭제하는 방법을 설명합니다.

**참고**  
액세스 포인트에 연결된 디렉터리 버킷을 삭제하려면 먼저 액세스 포인트를 삭제해야 합니다.

## S3 콘솔 사용
<a name="access-points-directory-buckets-delete-console"></a>

**AWS 계정의 디렉터리 버킷용 액세스 포인트를 삭제하는 방법**

1. AWS Management Console에 로그인한 후 [https://console.aws.amazon.com/s3/](https://console.aws.amazon.com/s3/)에서 S3 콘솔을 엽니다.

1. 페이지 상단의 탐색 모음에서 현재 표시된 AWS 리전의 이름을 선택합니다. 그런 다음 액세스 포인트를 나열하려는 리전을 선택합니다.

1. 콘솔 왼쪽의 탐색 창에서 **디렉토리 버킷용 액세스 포인트**를 선택합니다.

1. (선택 사항) 이름으로 액세스 포인트를 검색합니다. 선택한 AWS 리전의 액세스 포인트만 여기에 표시됩니다.

1. 삭제할 액세스 포인트의 이름을 선택합니다.

1. **삭제**를 선택합니다.

1. **confirm**을 입력한 후 **삭제**를 선택하여 삭제를 확인합니다.

## AWS CLI 사용
<a name="access-points-directory-buckets-delete-cli"></a>

다음 `delete-access-point` 예시 명령은 AWS CLI를 사용하여 액세스 포인트를 삭제하는 방법을 보여줍니다.

다음 명령은 AWS 계정 *111122223333*에 대한 액세스 포인트 **my-access-point**--*zoneID*--xa-s3을 삭제합니다.

```
aws s3control delete-access-point --name my-access-point--zoneID--xa-s3 --account-id 111122223333      
```

자세한 내용과 예제는 **AWS CLI 명령 참조에서 [https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3control/delete-access-point.html](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3control/delete-access-point.html)를 참조하십시오.

## REST API 사용
<a name="access-points-directory-buckets-delete-rest"></a>

REST API를 사용하여 액세스 포인트를 삭제할 수 있습니다. 자세한 내용은 *Amazon Simple Storage Service API 참조*에서 [https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html)를 참조하세요.

## AWS SDK 사용
<a name="access-points-directory-buckets-delete-sdk"></a>

AWS SDK를 사용하여 액세스 포인트를 삭제할 수 있습니다. 자세한 내용은 Amazon Simple Storage Service API 참조의 [지원되는 SDK 목록](https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPoint.html#API_control_DeleteAccessPoint_SeeAlso)을 참조하세요.