Page

Check user permission on a page

Changed on

Returns true if the page exists and the current user has the specified permission type over it. Supports both regular HTML pages and URL-mapped content. The permission type defaults to READ if not specified.

post/api/v1/page/_check-permission

Request

Request body */*

type'NONE' | 'READ' | 'USE' | 'EDIT' | 'WRITE' | 'PUBLISH' | 'EDIT_PERMISSIONS' | 'CAN_ADD_CHILDREN'
hostIdstring
languageIdinteger
pathstring

Response

Permission check result

entityboolean
i18nMessagesMapobject
permissionsstring[]

Changes

    • breaking

      request body became required

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status