Was this helpful?

 

Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/developers/{developer_email}

Description: Update an existing developer profile with new values or additional attributes.

Verb: PUT
Auth: Basic Auth
Media types:
application/json
text/xml

Overview:

To update an existing developer profile, you only need to POST the new modified portion of the developer profile. If you need to delete attributes from a developer profile, submit the entire profile minus the attributes that you want to delete.

Sample Request:

To add a custom attribute, 'region' with a value of 'north':

$ curl -H "Content-type:application/json" -X PUT -d \
'{
  "firstNname" : "Ewoorde",
  "lastName" : "Wilson",
  "userName" : "wilson",
  "attributes" : [ {
    "name" : "region",
    "value" : "north"
  } ]
}' \
https://api.enterprise.apigee.com/v1/o/{org_name}/developers/{developer_email} \
-u myname:mypass
Or, to change 'region' from 'north' to 'west':
$ curl -H "Content-type:application/json" -X PUT -d \
'{
  "firstNname" : "Ewoorde",
  "lastName" : "Wilson",
  "userName" : "wilson",
  "attributes" : [ {
    "name" : "region",
    "value" : "west"
  } ]
}' \
https://api.enterprise.apigee.com/v1/o/{org_name}/developers/{developer_email} \
-u myname:mypass

Sample Response:
{
  "email" : "developer@apigee.com",
  "firstName" : "Ewoorde",
  "lastName" : "Wilson",
  "userName" : "wilson",
  "organizationName" : "AutomationOrganization",
  "status" : "active",
  "attributes" : [ {
	"name" : "region",
	"value" : "north"
  } ],
  "createdAt" : 1343052042964,
  "createdBy" : "Admin",
  "lastModifiedAt" : 1343052043555,
  "lastModifiedBy" : "Admin"
}
Or, when changing region:
{
  "email" : "developer@apigee.com",
  "firstName" : "Ewoorde",
  "lastName" : "Wilson",
  "userName" : "wilson",
  "organizationName" : "AutomationOrganization",
  "status" : "active",
  "attributes" : [ {
	"name" : "region",
	"value" : "west"
  } ],
  "createdAt" : 1343052042964,
  "createdBy" : "Admin",
  "lastModifiedAt" : 1343052043555,
  "lastModifiedBy" : "Admin"
}

 

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.