Was this Helpful?

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

API Resource Path: /keyvaluemaps/{map_name}

Deletes a KeyValueMap and all associated entries.

Verb: DELETE

Auth: Basic Auth

Media types:

application/json
text/xml

Deletes a KeyValueMap and all associated entries.

Sample Request:
For KeyValueMaps scoped to organization: $ curl https://api.enterprise.apigee.com/v1/o/{org_name}/keyvaluemaps/{map_name} \ -u myname:mypass -X DELETE For KeyValueMaps scoped to environment: $ curl https://api.enterprise.apigee.com/v1/o/{org_name}/environments/{env_name}keyvaluemaps/{map_name} \ -u myname:mypass -X DELETE For KeyValueMaps scoped to API: $ curl https://api.enterprise.apigee.com/v1/o/{org_name}/apis/(api_name}/keyvaluemaps/{map_name} \ -u myname:mypass -X DELETE
Sample Response:
{
  "entry" : [ {
    "name" : "dev",
    "value" : "user1"
  } ],
  "name" : "prodmap"
}
Response Payload Elements:
Name Description
entry Name'value pair that defines an entry in the map
name Name of the map that was deleted
Errors
{
  "code" : "keymanagement.service.organization_map_doesnt_exist",
  "message" : "Organization map does not 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?)