Create record types programmatically

I want to create record type through code and subscribe users to that record type for some time and then delete the record when its work is done, is possible to do this?

@harsh. Thanks very much for your question, and my apologies for the delayed response. I am not sure I understand what you mean by “record” type. Can you please elaborate? Do you have some example code that you can share to show us what you mean?

I look forward to your response soon!

All the best!