Was this helpful?

 

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

API Resource Path:

/companies/{company_name}

Description: Deletes an existing company

Verb: DELETE
Auth: Basic Auth
Sample Request:
$ curl -X DELETE https://api.enterprise.apigee.com/v1/o/{org_name}/companies/{company_name} \
-u myname:mypass
Sample Response:
{
  "apps" : [ ],
  "name" : "DevCompany",
  "displayName" : "Developer Company",
  "organization" : "myorg",
  "status" : "active",
  "attributes" : [ {
    "name" : "region",
    "value" : "south"
  } ],
  "createdAt" : 1343049811765,
  "createdBy" : "Admin",
  "lastModifiedAt" : 1343049811875,
  "lastModifiedBy" : "Admin"
}
Response Payload Elements:
Name Description
apps A list of apps associated with the company
name The name of the company
displayName Display name of the company
organization Organization containing the company
status Status of the company--active or inactive.
attributes Arbitrary attribues that may be used to extend the default company profile
createdAt UNIX time when the entity was created
createdBy User name of the Apigee developer who created the company
lastModifiedAt UNIX time when the entity was last modified
lastModifiedBy User name of the Apigee developer who last modified the company
Errors:
{
  "code" : "developer.service.CompanyDoesNotExist",
  "message" : "Company named DevCompany1 does not exist in organization myorg",
  "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?)