Was this helpful?

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

API Resource Path: /maps/{map_name}

Updates an existing map

Verb: PUT

Auth: Basic Auth

Does not override (i.e., delete & re-create) the existing Map, instead, this method updates the entries if they exist or adds them if not.

Sample Request:
$ curl -H "Content-type:application/json" -X PUT -d  \
'{
  "entry" : [ {
    "name" : "qa",
    "value" : "user2"
  } ],
 "name" : "prodmap"
}' \
https://api.enterprise.apigee.com/v1/o/{org_name}/maps/{map_name} \
-u myname:mypass
Request Payload Elements:
Name Description Default Required?
entry The list of entries in the map N/A Yes
name The name of the entry N/A Yes
value The value of the netry N/A Yes
name The name of the map to be updated N/A Yes
Sample Response:
{
  "entry" : [ {
    "name" : "qa",
    "value" : "user2"
  }, {
    "name" : "dev",
    "value" : "user1"
  } ],
  "name" : "prodmap"
}
Response Payload Elements:
Name Description
entry The name of the list of entries in the map
name The name of the entry
value The value of the entry
name The name of the map
Errors
Failure 4xx with proper error message
{
  "code" : "keymanagement.service.organization_map_doesnt_exist",
  "message" : "Organization map does not exist",
  "contexts" : [ ]
}
Last updated: about 1 month ago

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.