doc-exports/docs/sfs/api-ref/en-us_topic_0000001614557076.html
zhangyue 8d1d100b18 SFS API DOC
Reviewed-by: Miskanin, Jan <jan.miskanin@t-systems.com>
Reviewed-by: Sabelnikov, Dmitriy <dmitriy.sabelnikov@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-09-05 08:16:37 +00:00

13 KiB

Deleting a Permissions Rule

Function

This API is used to delete a permission rule.

URI

DELETE /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules/{rule_id}

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID

share_id

Yes

String

File system ID

rule_id

Yes

String

Permission rule ID

Request Parameters

Table 2 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

Account token

Content-Type

Yes

String

MIME type

Response Parameters

Status code: 400

Table 3 Response body parameters

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

Table 4 Response body parameters

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

Example Request

None

Example Response

Status code: 500

Error response

{ 
  "errCode" : "SFS.TURBO.0005", 
  "errMsg" : "Internal server error" 
}

Status Codes

Status Code

Description

204

Successful deletion

400

Error response

500

Error response