Endpoint
/v3/smb/shares/{share_id}
GET
Retrieve the specified SMB share. Refer to the 'Modify SMB Share' method for a description of the returned fields.
Parameters
Name |
Description |
Required |
share_id |
The unique ID of the SMB share. |
Yes |
Response
Codes
Code |
Description |
200 |
Return value on success |
Schema
PUT
Modify an SMB share's options.
Parameters
Name |
Description |
Required |
share_id |
The unique ID of the SMB share. |
Yes |
allow-fs-path-create |
Specifies whether the file system path can be created if it does not already exist. |
No |
If-Match |
ETag for expected version |
No |
Request
Schema
Response
Codes
Code |
Description |
200 |
Return value on success |
Schema
DELETE
Delete an SMB share. Not undoable.
Parameters
Name |
Description |
Required |
share_id |
The unique ID of the SMB share. |
Yes |
If-Match |
ETag for expected version |
No |
Response
Codes
Code |
Description |
200 |
Return value on success |
PATCH
Modify select fields in an SMB share.
Parameters
Name |
Description |
Required |
share_id |
The unique ID of the SMB share. |
Yes |
allow-fs-path-create |
Specifies whether the file system path can be created if it does not already exist. |
No |
If-Match |
ETag for expected version |
No |
Request
Schema
Response
Codes
Code |
Description |
200 |
Return value on success |
Schema