I can create new attributes and their options and set them against a product using catalogProductRepositoryV1 post or PUT
However if the Attribute is not assigned to an attribute set, then the products attribute value is lost.
How can I assign new attributes to the attribute set using REST?