Deleting a DIS-Enabled Notification Policy
Functions
Deletes all DIS notification policies configured for a bucket. When the deletion succeeds, a success message is returned with the status code of 204.
Request Syntax
DELETE /?disPolicy HTTP/1.1 Host: bucketname.obs.region.example.com Authorization: authorization Date: date
Request parameters
This request contains no message parameters.
Request Headers
This request uses common headers. For details, see Table 3.
Request Elements
This request involves no elements.
Response Syntax
HTTP/1.1 status_code Server: OBS Date: date
Response Headers
The response to the request uses common headers. For details, see Table 1.
Response Elements
This response contains no elements.
Error Responses
No special error responses are returned. For details about error responses, see Table 2.
Sample Request
DELETE /?disPolicy HTTP/1.1 Host: bucketname.obs.region.example.com Authorization: OBS H4IPJX0TQTHTHEBQQCEC:sc2PM13Wlfcoc/YZLK0MwsI2Zpo= Date: Tue, 21 Jul 2020 17:28:46 GMT
Sample Response
HTTP/1.1 204 No Content Server: OBS Date: Tue, 07 Jul 2020 07:38:30 GMT
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot