Add a new Developer via Apigee Rest API

Not applicable

I am trying to add a new Developer into Apigee Org via the Rest API call. But I do not know how to set the authorization header for the call to succeed. Can anyone help me on setting the basic authentication header for the call to succeed?

Solved Solved
0 2 179
2 ACCEPTED SOLUTIONS

Hi @apigee1234567 ,

You need to add Authentication header to your request and use base 64 encode of username & password as value. You can see detailed documentation here on how to create a new developer in org using Apigee Management API.

See example here of Basic Auth using Javascript.

Using documentation you can also create a new developer be changing the input queries in Apigee Smart Doc for create developer. Open a network tab and observe request, response once you click on send this request button after setting Basic Auth Credentials.

Cheers,

Anil Sagar

View solution in original post

If you are using the smartdocs facility,

http://apigee.com/docs/management/apis/post/organizations/%7Borg_name%7D/developers

you will find the Basic Auth box. Click on this to enter your Apigee org username(email) and password. This will take care of the authentication.

If you using a direct REST call, then you need to add the basic authentication header,

Authorization: Basic <base64 encoded credentials>

http://en.wikipedia.org/wiki/Basic_access_authentication#Client_side

Use the same username and password that you have for Apigee console.

View solution in original post

2 REPLIES 2

Hi @apigee1234567 ,

You need to add Authentication header to your request and use base 64 encode of username & password as value. You can see detailed documentation here on how to create a new developer in org using Apigee Management API.

See example here of Basic Auth using Javascript.

Using documentation you can also create a new developer be changing the input queries in Apigee Smart Doc for create developer. Open a network tab and observe request, response once you click on send this request button after setting Basic Auth Credentials.

Cheers,

Anil Sagar

If you are using the smartdocs facility,

http://apigee.com/docs/management/apis/post/organizations/%7Borg_name%7D/developers

you will find the Basic Auth box. Click on this to enter your Apigee org username(email) and password. This will take care of the authentication.

If you using a direct REST call, then you need to add the basic authentication header,

Authorization: Basic <base64 encoded credentials>

http://en.wikipedia.org/wiki/Basic_access_authentication#Client_side

Use the same username and password that you have for Apigee console.