Was this helpful?


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

API Resource Path:


Description: Deactivates a custom aggregate. 

Verb: PUT
Auth: Basic Auth
Media types:

For more information on custom aggregates, see Use custom aggregations..

Sample Request:

$ curl -H "Content-type:application/json" -X PUT -d \
“status” : “inactive”
}'  \
https://api.enterprise.apigee.com/v1/o/stats/customaggregates/{custom_agg_name} \
-u myname:mypass
Request Payload Elements:
Name Description
status Set to "inactivate" for this use case. 
Sample Response:
    "displayName": "custom_agg1",
    "status": "inactive",
    “descriptions” : “sakl”,
    "metrics": [
    "dimensions": [
    "filter":"(apiproxy in \"api1\",\"api2\",\"api3\") or (iserror eq 1)",
Response Payload Elements:
Name Description
status Returns "inactive" for this use case. 

Error codes

  • 404 Not Found: If you try to deactivate a custom aggregate that does not exist.
  • 400 Bad Request: If display name validation fails
  • 500 Server Error: If the database is down or any other internal error occurs.


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