This API is used to unmount OBS storage from a notebook instance. After OBS storage is unmounted, OBS objects remain unchanged but cannot be operated in the notebook container.
None
DELETE /v1/{project_id}/notebooks/{instance_id}/storage/{storage_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
instance_id |
Yes |
String |
Notebook instance ID. |
project_id |
Yes |
String |
Project ID. For details, see Obtaining a Project ID and Name. |
storage_id |
Yes |
String |
OBS storage ID. |
None
Status code: 200
Parameter |
Type |
Description |
---|---|---|
category |
String |
Storage type The value can be OBS. |
id |
String |
ID of the instance with OBS storage mounted. |
mount_path |
String |
Path where OBS storage is mounted to a notebook instance. |
status |
String |
Status of OBS storage to be mounted. Options:
|
uri |
String |
OBS object path |
DELETE https://{endpoint}/v1/{project_id}/notebooks/{instance_id}/storage/{storage_id}
Status code: 200
OK
{ "category" : "OBSFS", "id" : "91dd2d3f-2d92-475f-a375-04636af26cc9", "mount_path" : "/data/wang/", "status" : "UNMOUNTING", "uri" : "obs://authoring-test/wang/" }
Status Code |
Description |
---|---|
200 |
OK |
204 |
No Content |
401 |
Unauthorized |
403 |
Forbidden |
See Error Codes.