{
"resource": {
"id": "string",
"code": "string",
"scope": "string",
"actions": [
"string"
],
"match_all_actions": true,
"match_all_resources": true,
"application_id": "string",
"application_name": "string"
},
"resource_set": {
"id": "string",
"code": "string"
},
"affect": "string"
}
curl --location --request PUT '/v1/auth-units//rules/' \
--header 'Content-Type: application/json' \
--data-raw '{
"resource": {
"id": "string",
"code": "string",
"scope": "string",
"actions": [
"string"
],
"match_all_actions": true,
"match_all_resources": true,
"application_id": "string",
"application_name": "string"
},
"resource_set": {
"id": "string",
"code": "string"
},
"affect": "string"
}'
{}