Was this helpful?

 

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

API Resource Path:

/keyvaluemaps/{map_name}/entries/{entry_name}

Description: Deletes a single entry by name

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

Overview: Deletes a single entry from a map

Sample Request:
Scoped by organization:
$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/keyvaluemaps/{map_name}/entries/{entry_name} \
-u myname:mypass 

Scoped by environment:
$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/environments/{env_name}/keyvaluemaps/{map_name}/entries/{entry_name} \
-u myname:mypass 

Scoped by API:
$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/apis/{api_name}/keyvaluemaps/{map_name}/entries/{entry_name} \
-u myname:mypass 
Sample Response:
{
  "name" : "qa",
  "value" : "user2"
}
Response Payload Elements:
Name Description
name The name of the deleted netry
value The value of the deleted entry
Errors
Failure 4xx with proper error message
{
  "code" : "keymanagement.service.organization_map_doesnt_exist",
  "message" : "Organization map does not exist",
  "contexts" : [ ]
}

Failure Codes:
1. Organization Name Invalid
2. Map Name Invalid

 

Add new comment

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.