admin_authorization_policy_update
Last edit: Nov 10, 2026
Updates an authorization policy found by physical_file_path (or the deprecated
id) and returns it. Raises an error when the policy does not exist; policies
stored in a private module directory cannot be updated
admin_authorization_policy_update(
authorization_policy: UpdateAuthorizationPolicyInputType!
id: ID
physical_file_path: String
): AuthorizationPolicy
Arguments
authorization_policy (UpdateAuthorizationPolicyInputType)
Attributes to change
id (ID)
Deprecated, use physical_file_path. Id of the policy to update
physical_file_path (String)
Current physical_file_path of the policy to update; takes precedence over id
Type
AuthorizationPolicy
Authorization policy (app/authorization_policies): a Liquid check that restricts
access to the pages it is attached to. When several policies are attached, all must pass