{
"pages": [
{
"pageId": 1,
"accessType": "allow",
"activities": [
{
"activityId": 1,
"accessType": "allow",
"items": [
{
"activityItemId": 1,
"accessType": "allow"
},
{
"activityItemId": 2,
"accessType": "allow"
},
{
"activityItemId": 3,
"accessType": "allow"
},
{
"activityItemId": 3,
"accessType": "allow"
}
]
}
]
}
]
}
curl --location --request PUT 'http://localhost:8080/api/v1/account//access-page' \
--header 'Content-Type: application/json' \
--data-raw '{
"pages": [
{
"pageId": 1,
"accessType": "allow",
"activities": [
{
"activityId": 1,
"accessType": "allow",
"items": [
{
"activityItemId": 1,
"accessType": "allow"
},
{
"activityItemId": 2,
"accessType": "allow"
},
{
"activityItemId": 3,
"accessType": "allow"
},
{
"activityItemId": 3,
"accessType": "allow"
}
]
}
]
}
]
}'
{}