Send Docs Feedback

Create KeyValueMap in an Organization

Resource Summary

Security

Content Type

application/json

Category

KeyValueMaps,

createKeyValueMap

POST

Create KeyValueMap in an Organization

Creates a key value map in an organization.

A key value map is a simple structure for persistently storing name/value pairs as entries in a named map. The entries in a KVM can be retrieved at runtime by the Key Value Map Operations policy or code running on Apigee Edge. Use KVMs for use cases such as profile-based access control, storing environment-specific data, to control application-specific behavior, and so on.

 

You can created an encrypted KVM by adding "encrypted" : "true" to the payload.

 

For information on retrieving KVMs, see:

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/keyvaluemaps

Header Parameters

Name Values Description
Content-Type
(required)

Specify the Content Type

Request Body

Name Description Default Required?
name The name of the map to be created. Characters you can use in the name are restricted to: A-Z0-9._\-$ %. N/A Yes
encrypted true to create an encrypted KVM. false No
entry The name/value pairs for the entry that defines the data to be stored. Characters you can use in the entry are restricted to: A-Z0-9._\-$ %. N/A Yes

org_name Mention the organization name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?