Can I override Client ID of developer App

nsaini
Participant IV

Hi

Can I override the client id of a developer app with my customer id. I do not want to change client secret. I only want to update the client id.

Thanks

Solved Solved
0 8 1,525
1 ACCEPTED SOLUTION

You cannot update a client id.

You can create credential pairs, in two ways:

  • ask Apigee Edge to generate a consumer-id (client id) and consumer secret for you
  • import an id/secret pair that you specify

You can also delete credentials.

You can never modify or update a client id.

A single developer app can have more than one set of credentials.

The Client ID (consumer ID) must be unique across all apps in an organization.

View solution in original post

8 REPLIES 8

nsaini
Participant IV

sidd-harth
Participant V

Hi @NSaini1 , maybe we can do it. The below doc explains how to add both custom id & secret. I am not sure if only one of them can be changed. Give it a try,

https://docs.apigee.com/api-platform/publish/import-existing-consumer-keys-and-secrets

Hi @Siddharth Barahalikar

Thanks for your reply. I have checked this one. Its not allowing to update only client id.

When we use POST Create, it will create a set of new credentials so, maybe as a workaround, while creating the keys,

Manually add the existing client_secret along with custom client_id.

{
  "consumerKey": "keys",
  "consumerSecret": "7sdhG2MQnBgyp0HV" 
  }

7335-keys.jpg

Then Delete the old credentials.

curl -X DELETE \
  https://api.enterprise.apigee.com/v1/organizations/{org}/developers/{devEmail}/apps/{app-name}/keys/...

7336-after-deleting.jpg

You cannot update a client id.

You can create credential pairs, in two ways:

  • ask Apigee Edge to generate a consumer-id (client id) and consumer secret for you
  • import an id/secret pair that you specify

You can also delete credentials.

You can never modify or update a client id.

A single developer app can have more than one set of credentials.

The Client ID (consumer ID) must be unique across all apps in an organization.

How to delete ?

Please: Ask a new question!

Ok Mr Dino.