OptionalcolorOptionalidThe Id of the content whose content state is to be set.
OptionalnameName of content state. Maximum 20 characters.
OptionalstateId of state. This can be 0,1, or 2 if you wish to specify a default space state.
OptionalstatusStatus of content onto which state will be placed. If draft, then draft state will change. If current, state will be placed onto a new version of the content with same body as previous version.
Color of state. Must be in 6 digit hex form (#FFFFFF). The default colors offered in the UI are: #ff7452 (red), #2684ff (blue), #ffc400 (yellow), #57d9a3 (green), and #8777d9 (purple)