curl --request POST \
--url https://api.example.com/admin/role/permissions/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"roleID": 123,
"permissionIDs": [
123
]
}
'{
"success": true,
"data": "<unknown>"
}Permission Remove To Role.
curl --request POST \
--url https://api.example.com/admin/role/permissions/remove \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"roleID": 123,
"permissionIDs": [
123
]
}
'{
"success": true,
"data": "<unknown>"
}