Modification with "API Rest" of a selection in a class



I am trying to modify a selection list in a class (product sheet) from the Rest API. From what I read you can only read a class from the API Rest but not modify it?

If we can change it, how should we do it?

Thank you for your help



Anyone have an idea?


@alaurent-PS Trully it isn’t in the native Pimcore REST endpoints so you need to:
a) create your own REST API endpoint (in your bundle) - recommended IMHO
b) override \Pimcore\Bundle\AdminBundle\Controller\Rest\ClassController