Unbinding a Storage Device
Function
This API is used to unbind a storage device from a specified namespace.
URI
DELETE /api/v1/namespaces/{namespace}/persistentvolumeclaims/{name}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
namespace |
Yes |
String |
Namespace from which a storage device is to be unbound. |
name |
Yes |
String |
PVC name. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
deleteVolume |
No |
Boolean |
Whether to delete the volume. The value can be true or false.
|
storageType |
No |
String |
Type of storage. The options are as follows:
|
Request
N/A
Response
N/A
Status Code
Status Code |
Description |
---|---|
200 |
The SFS file system is successfully deleted. |
For more status codes, see Status Codes.
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