how to migrate existing developer app to company app (withoutKeys)

Not applicable

Hi

Want to check if anyone is using Monetization pack and has Company functionality. When a developer signs up, they are not part of company, thus there app is created under "developer".

Later when we build a company for them, and move them in there, there app is still listed under developer. Is there a way to edit the app and place it under the company instead of creating another one? I dont think we care about changing of clientKey & secret...

0 4 462
4 REPLIES 4

Not applicable

Hi @Nikhil Aggarwal, I did not try from Monetization perspective but with the below you should be able to move the existing developer app to company app.

GET https://api.enterprise.apigee.com/v1/o/$orgname/developers/$developername/apps/$appname

POST https://api.enterprise.apigee.com/v1/organizations/$orgname/companies/$companyname/apps

with the same response content that you receive in GET above which creates you a company app.

At that point, you will see the same apps (name) in the developers and company apps but with different appids and consumer keys.

You can delete the developers app once you verify its all migrated.

If you want the same consumer key and secret, you may want to do this

http://docs.apigee.com/developer-services/content/import-existing-consumer-keys-and-secrets.

PS: I haven't tried the above steps. let us know if that works.

Hey @Nikhil Aggarwal, were you able to find a way to migrate developer-app to company-app ?

@Naveen Dokuparthi

Here are the steps we are following:

  1. Backup the developer app (keys, custom attributes, Products)
  2. Delete the developer app
  3. Create a new company app with the backed up custom attributes
  4. Update client credentials with backed up consumer key & secret
  5. Add the API Products to the client credentials

Thanks,

Feroz

@Mahammad Feroz Thank you!