Authorization: Bearer ********************{
"basePath": "string",
"ruleName": "string",
"deleteId": [
"string"
],
"updateRules": {
"file": [
{
"ruleName": "string",
"clientPath": "string"
}
],
"folder": [
{
"subId": 0,
"ruleName": "string",
"clientPath": "string",
"serverPath": "string",
"mode": "push",
"ignore": [
"string"
],
"delete": [
"string"
]
}
]
}
}curl --location --request PUT 'https://sbi.pigeon-server.cn/api/ui/rules/1' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"basePath": "string",
"ruleName": "string",
"deleteId": [
"string"
],
"updateRules": {
"file": [
{
"ruleName": "string",
"clientPath": "string"
}
],
"folder": [
{
"subId": 0,
"ruleName": "string",
"clientPath": "string",
"serverPath": "string",
"mode": "push",
"ignore": [
"string"
],
"delete": [
"string"
]
}
]
}
}'{
"status": true,
"msg": "string",
"data": "string"
}