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"
}

 

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)