Update of KeyValueMap is not supported

Not applicable

I am attempting to use the Management API to update a Key Value Map, but get the error :

{
    "code" : "keyvaluemap.service.KeyValueMapUpdateOperationNotSupported",
    "message" : "Update of KeyValueMap is not supported; use addEntry/updateEntry api to add entries to a KeyValueMap",
    "contexts" : [ ]

}

I don't see this APIs mentioned in the documentation and my organization is not currently CPS enabled, so how to I update KeyValueMaps via the API ?

0 3 704
3 REPLIES 3

@andy.ringrose As per the documentation , updating key value map entries isn't possible without having CPS enabled org.

@andy.ringrose The api for updating a KVM is deprecated for non CPS orgs. Would you need any help in onboarding your org to CPS ?

@Venkataraghavan How to on-board our org to CPS? Do we have any pre-requisites?