This article explains how to retrieve permissions of a restricted page using Confluence Command Line Interface (CLI).
Instructions
Use the getPermissionList action with the space and title parameters to retrieve a list of all available space, or, page permissions. See getSpacePermissionList for more detailed space permissions. Use the userId parameter to restrict the list to permissions for a specific user.
Ensure that the CLI client file is updated with the required information. Run the following CLI action to update space and title information respectively:
--action getPermissionList --space "ZCLI" --title "CLI Page"
The result for the CLI action is as follows:
The following screenshot shows the Confluence page with the restriction:
It is recommended to run the action in a test environment before running it in production.