Menghapus titik akses.
Catatan penggunaan
Secara default, akun Alibaba Cloud memiliki izin untuk menghapus titik akses. Untuk menghapus titik akses menggunakan pengguna RAM atau Security Token Service (STS), Anda harus memiliki izin oss:DeleteAccessPoint.
Sintaks permintaan
DELETE /?accessPoint HTTP/1.1
Date: Tanggal GMT
Content-Length: PanjangKonten
Content-Type: JenisKonten
Host: NamaBucket.oss-cn-hangzhou.aliyuncs.com
x-oss-access-point-name: apname
Authorization: NilaiTandaTanganHeader permintaan
Header | Tipe | Diperlukan | Contoh | Deskripsi |
x-oss-access-point-name | String | Ya | ap-01 | Nama dari titik akses. |
Permintaan ini mencakup header permintaan umum lainnya, seperti Date dan Authorization. Untuk informasi lebih lanjut, lihat Header HTTP umum.
Header respons
Respons terhadap permintaan DeleteAccessPoint hanya mencakup header respons umum. Untuk informasi lebih lanjut, lihat Header HTTP umum.
Contoh
Contoh permintaan
DELETE /?accessPoint HTTP/1.1 Date: Mon, 19 Jun 2023 03:15:40 GMT Content-Length: 10 Content-Type: application/xml Host: oss-example.oss-cn-hangzhou.aliyuncs.com x-oss-access-point-name: ap-01 Authorization: OSS qn6q**************:77Dv****************Contoh respons
HTTP/1.1 200 OK x-oss-request-id: 5C1B138A109F4E405B2D**** Date: Mon, 19 Jun 2023 03:15:40 GMT Content-Length: 0 Connection: keep-alive Server: AliyunOSS
ossutil
Untuk informasi tentang perintah ossutil yang sesuai dengan operasi DeleteAccessPoint, lihat delete-access-point.