Legacy Dev Forum Posts

 View Only

Sign Up

Want to Copy Access Groups and Roles from One Org to another Org

  • 1.  Want to Copy Access Groups and Roles from One Org to another Org

    Posted 06-05-2025 18:09

    Shakti_Joshi | 2024-06-13 02:53:03 UTC | #1

    Hello Team - Are there API's available which can Copy roles and Access Groups from one ORG and then push it to another ORG ? If not available, then is it possible to Create Access Groups and Roles using APIs?

    Warm Regards Shakti Joshi


    Declan_ginty | 2024-06-13 13:51:27 UTC | #2

    Hi @Shakti_Joshi

    I don't believe there is a specific api to achieve this but you could try to use our exporter resource with our terraform provider. The exporter resource will find all the instances of a specified genesyscloud object (such as groups or roles) and export each one as terraform resources. You can then take the resulting terraform file and apply it to a different org using OAuth credentials for that org, effectively copying resources from one org to another.

    See our documentation for more, https://developer.genesys.cloud/devapps/cx-as-code/ and https://registry.terraform.io/providers/MyPureCloud/genesyscloud/latest/docs

    Regards, Declan


    Shakti_Joshi | 2024-06-14 14:39:19 UTC | #3

    Thanks, will check the documentation.


    system | 2024-07-15 14:40:13 UTC | #4

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 26754