Was this helpful?

 

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

API Resource Path:

/companies/{company_name}/developers

Description: Adds a developer to a company

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

Overview: Associates a developer profile with a company entity. Company entities can be used to manage developers and apps collectively.

Sample Request:
$ curl -H "Content-Type:application/json" -X POST -d \
'{
  "developer" : [ {
    "email" : "dev@apigee.com",
    "role" : "developer"
  }, {
    "email" : "developer@apigee.com",
    "role" : "developer"
  } ]
}' \
https://api.enterprise.apigee.com/v1/o/{org_name}/companies/{company_name}/developers \
-u myname:mypass
Request Payload Elements:
Name Description Default Required?
email The unique ID for a company developer   Yes
role An entry that may be used for access control to app information by a client, but which is not enforced by Apigee   Yes
Sample Response:
{
  "developer" : [ {
    "email" : "dev@apigee.com",
    "role" : "developer"
  }, {
    "email" : "developer@apigee.com",
    "role" : "developer"
  } ]
}
Response Payload Elements:
Name Description
email The unique key ID a company developer
role An entry that may be used for access control to app information by a client, but which is not enforced by Apigee
Errors:
{
  "code" : "developer.service.DevelopersDoesNotExist",
  "message" : "Developers [dev2@apigee.com] doesnot exist",
  "contexts" : [ ]
}

 

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?)