How to create several roles at once

Hi all,

Is there a way to create several roles at once using POST /_security/role/ API?

If so, can someone plz give an example?

The ideia here is to first use GET /_security/role/, remove all reserved roles and then use POST to create same roles on a different cluster.

Thank you