How to change MetaClass on a Variant using the Service Api?

Vote:
 

Is the recommended way of changing the MetaClass on a Variant using the Service Api deleting and recreating it?

Simply changing it leads to an error. 

#261053
Aug 24, 2021 14:58
Vote:
 

Yes deleting it and recreating it is the way. Content type is immutable, so it will throw error if you try to change the MetaClass (that was added in a later version)

#261090
Aug 25, 2021 8:39
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.