v50

latestOpenAPI 3.0.3agplraw.githubusercontent.com2026-06-2680131565.4 KB
policy

Save an explicit user policy for a target user (admin scope)

put/ocs/v2.php/apps/libresign/api/{apiVersion}/policies/user/{userId}/{policyKey}

Path parameters

apiVersion'v1' required
userIdstring required

Target user identifier that receives the policy assignment.

policyKeystring required

Policy identifier to persist for the target user.

Headers

OCS-APIRequestboolean required

Required to be true for the API request to pass

Request body

allowChildOverrideboolean

Whether the target user may still override the assigned value in personal preferences.

Response

OK