bpy.ops.palette.
color_add
Add new color to active palette
color_delete
Remove active color from palette
new
Add new palette
Paintcurve Operators
Particle Operators