doc-exports/docs/sfs/api-ref/en-us_topic_0000001662997101.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

270 lines
22 KiB
HTML

<a name="EN-US_TOPIC_0000001662997101"></a><a name="EN-US_TOPIC_0000001662997101"></a>
<h1 class="topictitle1">Modifying a Permission Rule</h1>
<div id="body0000001662997101"><div class="section" id="EN-US_TOPIC_0000001662997101__section1056mcpsimp"><h4 class="sectiontitle">Function</h4><p id="EN-US_TOPIC_0000001662997101__p1058mcpsimp">This API is used to modify a permission rule.</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001662997101__section1063mcpsimp"><h4 class="sectiontitle">URI</h4><p id="EN-US_TOPIC_0000001662997101__p1065mcpsimp">PUT /v1/{project_id}/sfs-turbo/shares/{share_id}/fs/perm-rules/{rule_id}</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1066mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Path parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1074mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.1"><p id="EN-US_TOPIC_0000001662997101__p1076mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.2"><p id="EN-US_TOPIC_0000001662997101__p1078mcpsimp">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.2.3.2.5.1.3"><p id="EN-US_TOPIC_0000001662997101__p1080mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.2.3.2.5.1.4"><p id="EN-US_TOPIC_0000001662997101__p1082mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1084mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1086mcpsimp">project_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1088mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1090mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1092mcpsimp">Project ID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1093mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1095mcpsimp">share_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1097mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1099mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1101mcpsimp">File system ID</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1102mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1104mcpsimp">rule_id</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1106mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.2.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1108mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.2.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1110mcpsimp">Permission rule ID</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001662997101__section1111mcpsimp"><h4 class="sectiontitle">Request Parameters</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1113mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Request header parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1121mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.1"><p id="EN-US_TOPIC_0000001662997101__p1123mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.2"><p id="EN-US_TOPIC_0000001662997101__p1125mcpsimp">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.2.2.5.1.3"><p id="EN-US_TOPIC_0000001662997101__p1127mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.2.2.5.1.4"><p id="EN-US_TOPIC_0000001662997101__p1129mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1131mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1133mcpsimp">X-Auth-Token</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1135mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1137mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1139mcpsimp">Account token</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1140mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1142mcpsimp">Content-Type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1144mcpsimp">Yes</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.2.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1146mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.2.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1148mcpsimp">MIME type</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1149mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 3 </b>Request body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1157mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.1"><p id="EN-US_TOPIC_0000001662997101__p1159mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.2"><p id="EN-US_TOPIC_0000001662997101__p1161mcpsimp">Mandatory</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.3.3.2.5.1.3"><p id="EN-US_TOPIC_0000001662997101__p1163mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40%" id="mcps1.3.3.3.2.5.1.4"><p id="EN-US_TOPIC_0000001662997101__p1165mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1176mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1178mcpsimp">rw_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1180mcpsimp">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1182mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1184mcpsimp">Read/write permission of the object to be authorized. The value can be <strong id="EN-US_TOPIC_0000001662997101__b18263153123714">rw</strong> (read and write permission), <strong id="EN-US_TOPIC_0000001662997101__b19264193123712">ro</strong> (read only permission), or <strong id="EN-US_TOPIC_0000001662997101__b1726523120372">none</strong> (no access permission). The default value is <strong id="EN-US_TOPIC_0000001662997101__b82651031163718">rw</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1185mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1187mcpsimp">user_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1189mcpsimp">No</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.3.3.2.5.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1191mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="40%" headers="mcps1.3.3.3.2.5.1.4 "><p id="EN-US_TOPIC_0000001662997101__p1193mcpsimp">File system access permission granted to the user of the object to be authorized. The value can be <strong id="EN-US_TOPIC_0000001662997101__b08734279564">no_root_squash</strong>, <strong id="EN-US_TOPIC_0000001662997101__b1874182718560">root_squash</strong>, or <strong id="EN-US_TOPIC_0000001662997101__b19875172745616">all_squash</strong>. Value <strong id="EN-US_TOPIC_0000001662997101__b1262415817435">no_root_squash</strong> allows the root user on the client to access the file system as <strong id="EN-US_TOPIC_0000001662997101__b196251458134319">root</strong>. Value <strong id="EN-US_TOPIC_0000001662997101__b8186120104414">root_squash</strong> allows the root user on the client to access the file system as <strong id="EN-US_TOPIC_0000001662997101__b21861016449">nfsnobody</strong>. Value <strong id="EN-US_TOPIC_0000001662997101__b343261034415">all_squash</strong> allows any user on the client to access the file system as <strong id="EN-US_TOPIC_0000001662997101__b0433210174411">nfsnobody</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001662997101__section1194mcpsimp"><h4 class="sectiontitle">Response Parameters</h4><p id="EN-US_TOPIC_0000001662997101__p1196mcpsimp"><strong id="EN-US_TOPIC_0000001662997101__b1560181424411">Status code: 200</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1198mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 4 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1205mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.1"><p id="EN-US_TOPIC_0000001662997101__p1207mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.3.2.4.1.2"><p id="EN-US_TOPIC_0000001662997101__p1209mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.3.2.4.1.3"><p id="EN-US_TOPIC_0000001662997101__p1211mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1213mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p692mcpsimp">ip_cidr</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p694mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p696mcpsimp">IP address or IP address range of the authorized object</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1227mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1229mcpsimp">rw_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1231mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1233mcpsimp">Read/write permission of the authorized object. The value can be <strong id="EN-US_TOPIC_0000001662997101__b4649161753710">rw</strong> (read and write permission), <strong id="EN-US_TOPIC_0000001662997101__b465012171371">ro</strong> (read only permission), or <strong id="EN-US_TOPIC_0000001662997101__b365241715375">none</strong> (no access permission). The default value is <strong id="EN-US_TOPIC_0000001662997101__b565371723711">rw</strong>.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1234mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1236mcpsimp">user_type</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.3.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1238mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.3.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1240mcpsimp">File system access permission granted to the user of the authorized object. The value can be <strong id="EN-US_TOPIC_0000001662997101__b4328135204412">no_root_squash</strong>, <strong id="EN-US_TOPIC_0000001662997101__b16328135174414">root_squash</strong>, or <strong id="EN-US_TOPIC_0000001662997101__b15329113564418">all_squash</strong>. Value <strong id="EN-US_TOPIC_0000001662997101__b98392366444">no_root_squash</strong> allows the root user on the client to access the file system as <strong id="EN-US_TOPIC_0000001662997101__b1483933618447">root</strong>. Value <strong id="EN-US_TOPIC_0000001662997101__b11176123844412">root_squash</strong> allows the root user on the client to access the file system as <strong id="EN-US_TOPIC_0000001662997101__b18177538204411">nfsnobody</strong>. Value <strong id="EN-US_TOPIC_0000001662997101__b0639114674412">all_squash</strong> allows any user on the client to access the file system as <strong id="EN-US_TOPIC_0000001662997101__b126404466446">nfsnobody</strong>.</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001662997101__p1241mcpsimp"><strong id="EN-US_TOPIC_0000001662997101__b183534814411">Status code: 400</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1243mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 5 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1250mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.1"><p id="EN-US_TOPIC_0000001662997101__p1252mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.5.2.4.1.2"><p id="EN-US_TOPIC_0000001662997101__p1254mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.5.2.4.1.3"><p id="EN-US_TOPIC_0000001662997101__p1256mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1258mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1260mcpsimp">errCode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1262mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1264mcpsimp">Error code</p>
<p id="EN-US_TOPIC_0000001662997101__p1265mcpsimp">Minimum length: 8 characters</p>
<p id="EN-US_TOPIC_0000001662997101__p1267mcpsimp">Maximum length: 36 characters</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1269mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1271mcpsimp">errMsg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.5.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1273mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.5.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1275mcpsimp">Error message</p>
<p id="EN-US_TOPIC_0000001662997101__p1276mcpsimp">Minimum length: 2 characters</p>
<p id="EN-US_TOPIC_0000001662997101__p1278mcpsimp">Maximum length: 512 characters</p>
</td>
</tr>
</tbody>
</table>
</div>
<p id="EN-US_TOPIC_0000001662997101__p1280mcpsimp"><strong id="EN-US_TOPIC_0000001662997101__b142869814454">Status code: 500</strong></p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1282mcpsimp" frame="border" border="1" rules="all"><caption><b>Table 6 </b>Response body parameters</caption><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1289mcpsimp"><th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.1"><p id="EN-US_TOPIC_0000001662997101__p1291mcpsimp">Parameter</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="20%" id="mcps1.3.4.7.2.4.1.2"><p id="EN-US_TOPIC_0000001662997101__p1293mcpsimp">Type</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="60%" id="mcps1.3.4.7.2.4.1.3"><p id="EN-US_TOPIC_0000001662997101__p1295mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1297mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1299mcpsimp">errCode</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1301mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1303mcpsimp">Error code</p>
<p id="EN-US_TOPIC_0000001662997101__p1304mcpsimp">Minimum length: 8 characters</p>
<p id="EN-US_TOPIC_0000001662997101__p1306mcpsimp">Maximum length: 36 characters</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1308mcpsimp"><td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1310mcpsimp">errMsg</p>
</td>
<td class="cellrowborder" valign="top" width="20%" headers="mcps1.3.4.7.2.4.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1312mcpsimp">String</p>
</td>
<td class="cellrowborder" valign="top" width="60%" headers="mcps1.3.4.7.2.4.1.3 "><p id="EN-US_TOPIC_0000001662997101__p1314mcpsimp">Error message</p>
<p id="EN-US_TOPIC_0000001662997101__p1315mcpsimp">Minimum length: 2 characters</p>
<p id="EN-US_TOPIC_0000001662997101__p1317mcpsimp">Maximum length: 512 characters</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="EN-US_TOPIC_0000001662997101__section1319mcpsimp"><h4 class="sectiontitle">Example Request</h4><pre class="screen" id="EN-US_TOPIC_0000001662997101__screen1321mcpsimp">{
"rw_type" : "rw",
"user_type" : "no_root_squash"
}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000001662997101__section1322mcpsimp"><h4 class="sectiontitle">Example Response</h4><pre class="screen" id="EN-US_TOPIC_0000001662997101__screen9246204217152">{
"ip_cidr":"188.88.88.88",
"rw_type":"ro",
"user_type":"no_root_squash"
}
</pre>
<p id="EN-US_TOPIC_0000001662997101__p1324mcpsimp"><strong id="EN-US_TOPIC_0000001662997101__b122101628184520">Status code: 200</strong></p>
<p id="EN-US_TOPIC_0000001662997101__p1326mcpsimp">Successful modification</p>
<p id="EN-US_TOPIC_0000001662997101__p1327mcpsimp"><strong id="EN-US_TOPIC_0000001662997101__b769713064519">Status code: 400</strong></p>
<p id="EN-US_TOPIC_0000001662997101__p1329mcpsimp">Error response</p>
<pre class="screen" id="EN-US_TOPIC_0000001662997101__screen1330mcpsimp">{
"errCode" : "SFS.TURBO.0001",
"errMsg" : "Invalid rule id"
}</pre>
<p id="EN-US_TOPIC_0000001662997101__p1331mcpsimp"><strong id="EN-US_TOPIC_0000001662997101__b10714741144511">Status code: 500</strong></p>
<p id="EN-US_TOPIC_0000001662997101__p1333mcpsimp">Error response</p>
<pre class="screen" id="EN-US_TOPIC_0000001662997101__screen1334mcpsimp">{
"errCode" : "SFS.TURBO.0005",
"errMsg" : "Internal server error"
}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000001662997101__section1335mcpsimp"><h4 class="sectiontitle">Status Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001662997101__table1337mcpsimp" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001662997101__row1342mcpsimp"><th align="left" class="cellrowborder" valign="top" width="15%" id="mcps1.3.7.2.1.3.1.1"><p id="EN-US_TOPIC_0000001662997101__p1344mcpsimp">Status Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="85%" id="mcps1.3.7.2.1.3.1.2"><p id="EN-US_TOPIC_0000001662997101__p1346mcpsimp">Description</p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001662997101__row1348mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1350mcpsimp">200</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1352mcpsimp">Successful modification</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1353mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1355mcpsimp">400</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1357mcpsimp">Error response</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001662997101__row1358mcpsimp"><td class="cellrowborder" valign="top" width="15%" headers="mcps1.3.7.2.1.3.1.1 "><p id="EN-US_TOPIC_0000001662997101__p1360mcpsimp">500</p>
</td>
<td class="cellrowborder" valign="top" width="85%" headers="mcps1.3.7.2.1.3.1.2 "><p id="EN-US_TOPIC_0000001662997101__p1362mcpsimp">Error response</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000001663116961.html">Permissions Management</a></div>
</div>
</div>