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" : [ ]
}

 

コメントを追加

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.