/** * Serializer for updating user policies on a platform. * * Accepts lists of policies to add and remove for a specific user on a platform. */ export type UserPolicyUpdate = { /** * ID of the user to update policies for */ user_id: number; /** * Platform key where the user's policies should be updated */ platform_key: string; /** * List of policy names to add to the user */ policies_to_add?: Array; /** * List of policy names to remove from the user */ policies_to_remove?: Array; /** * List of policy names to set for the user (replaces all existing policies with these) */ policies_to_set?: Array; };