When the workflow trigger event occurs the trigger will check that any required conditions are met, and if met the "remove-restrictions" action removes page-level content view and edit restrictions for specified users/groups.
"remove-restrictions"
The trigger action "remove-restrictions" will remove content view and edit restrictions for all users/groups.
action (remove-restrictions)
contentId (string) The content id of the page to remove page-level restrictions (if missing, the current page id will be used)
A useful instance would be to use this trigger action to remove all view and edit restrictions from the final state in a workflow.
If adding the JSON trigger using workflow builder there is no need to include the opening "triggers": JSON markup notation, since it will be added by workflow builder.
Space admins can configure a space workflow in the space tools Document Management dashboard to remove all page level restrictions on transition to the workflow final state.