<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def buckets_delete(self, bucket):
 """Issues a request to delete a bucket. Args: bucket: the name of the bucket. Raises: Exception if there is an error performing the operation. """

    url = Api._ENDPOINT + (Api._BUCKET_PATH % bucket)
    google.datalab.utils.Http.request(url, method='DELETE', credentials=self._credentials,
                                      raw_response=True)