DeleteBucketOfCloudStorage
Delete the specified bucket of the cloud storage
Path Parameters
- cloudStorageId int32 required
Id of cloud Storage
- bucketId int32 required
Id of Bucket
Query Parameters
- forceDelete boolean
Force deletes the bucket when physical deletion of data not possible. It will do DB cleanup only.
Responses
- 200
- 500
Success
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
DELETE /v4/storage/cloud/:cloudstorageid/bucket/:bucketid
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X DELETE 'https://localhost/webconsole/api/V4/Storage/Cloud/:cloudStorageId/Bucket/:bucketId' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'