How do we change the org name in Developer Portal ?

We have the org name let's say “org1” in the Apigee Edge, but our developer portal is pointing to org “org2”. How can we make our developer portal to point to the right org that is “org1” ?

Solved Solved
0 4 637
1 ACCEPTED SOLUTION

Not applicable

@AMAR DEVEGOWDA: This can only be done with drush. Unless you are working locally, you will need to configure drush with the alias for your site. If your site is hosted on Pantheon, the instructions for doing this can be found here:

https://pantheon.io/docs/articles/local/drupal-drush-command-line-utility/

Once you have drush configured properly, you can change the the org as follows:

drush @mysite.dev dc-setorg org1

EDIT: With the most recent Drupal-on-pantheon installations, you will use terminus:

  terminus drush "dc-setorg --site mysitename --env dev org1"

You will want to clear all caches after changing your org or credentials.

View solution in original post

4 REPLIES 4

Not applicable

@AMAR DEVEGOWDA: This can only be done with drush. Unless you are working locally, you will need to configure drush with the alias for your site. If your site is hosted on Pantheon, the instructions for doing this can be found here:

https://pantheon.io/docs/articles/local/drupal-drush-command-line-utility/

Once you have drush configured properly, you can change the the org as follows:

drush @mysite.dev dc-setorg org1

EDIT: With the most recent Drupal-on-pantheon installations, you will use terminus:

  terminus drush "dc-setorg --site mysitename --env dev org1"

You will want to clear all caches after changing your org or credentials.

@Daniel Johnson

Thanks for your quick response.

@Daniel Johnson

Can we achieve the same in Acquia as we are doing in pantheon.

@Pratyush Mohapatra Use the drush command for Acquia, it's the same.