This API is used to delete a permission rule.
DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules/{rule_id}
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID |
share_id |
Yes |
String |
File system ID |
rule_id |
Yes |
String |
Permission rule ID |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
Account token |
Content-Type |
Yes |
String |
MIME type |
Status code: 400
Parameter |
Type |
Description |
---|---|---|
errCode |
String |
Error code Minimum length: 8 characters Maximum length: 36 characters |
errMsg |
String |
Error message Minimum length: 2 characters Maximum length: 512 characters |
Status code: 500
Parameter |
Type |
Description |
---|---|---|
errCode |
String |
Error code Minimum length: 8 characters Maximum length: 36 characters |
errMsg |
String |
Error message Minimum length: 2 characters Maximum length: 512 characters |
None
Status code: 500
Error response
{ "errCode" : "SFS.TURBO.0005", "errMsg" : "Internal server error" }
Status Code |
Description |
---|---|
204 |
Successful deletion |
400 |
Error response |
500 |
Error response |