You can use this operation to delete the policy of a specified bucket.
Only the bucket owner can delete the bucket policy.
OBS returns 204 No Content whether a requested bucket policy exists or not.
DELETE /?policy HTTP/1.1 Host: bucketname.obs.example.com Accept: */* Date: date Authorization: authorization
This request involves no parameters.
This request uses common headers. For details about common request headers, see section Common Request Headers.
This request involves no elements.
HTTP/1.1 status_code Server: Server Name x-amz-request-id: request id x-amz-id-2: id x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc Date: date Content-Type: type
This response uses common headers. For details about common response headers, see section Common Response Headers.
This response involves no elements.
No special error responses are returned. For details about error responses, see Table 1.
DELETE /?policy HTTP/1.1 Host: bucketname.obs.example.com Accept: */* Date: Fri, 06 Sep 2013 07:06:42 GMT Authorization: signature
HTTP/1.1 204 No Content Server: OBS x-amz-request-id: 7B6DFC9BC71DD58B061285551605709 x-amz-id-2: N0I2REZDOUJDNzFERDU4QjA2MTI4NTU1MTYwNTcwOUFBQUFBQUFBYmJiYmJiYmJD x-reserved: amazon, aws and amazon web services are trademarks or registered trademarks of Amazon Technologies, Inc Content-Type: text/xml Date: Mon, 27 Sep 2010 01:40:03 GMT