Genesys Cloud - Developer Community!

 View Only

Sign Up

genesyscloud_user_roles does not work for the PC_OAUTH_CLIENT type, which does allow the use of the API.

  • 1.  genesyscloud_user_roles does not work for the PC_OAUTH_CLIENT type, which does allow the use of the API.

    Posted 20 days ago

    This resource does not work for the PC_OAUTH_CLIENT type, which does allow the use of the API.

    resource "genesyscloud_user_roles" "example_user_roles" {
    user_id = genesyscloud_user.example_user.id
    roles {
    role_id = genesyscloud_auth_role.simple_agent_role.id
    division_ids = [data.genesyscloud_auth_division_home.home.id, genesyscloud_auth_division.marketing.id]
    }
    }


    #CXasCode

    ------------------------------
    Jesus Garces
    NA
    ------------------------------