Change mint properties API is not working - Apigee Edge

Hi,

I am planning to change the setting for invalidTscStorage in for the transactions options, but when i try to hit the below API i am getting error 404 not found:

curl -v -u admin:admin123 -X PUT
"https://monetization_server_IP:8080/v1/mint/properties/mint.invalidTscStorage.setting?value=discard"

i also tried with POST and it did not work, i tried to put the organization after /mint/organization/test/properties, also did not work,

i followed the below document to do this.

 https://docs.apigee.com/private-cloud/v4.51.00/mint-server-properties

any idea about this?? 

 

0 2 74
2 REPLIES 2

Are you sure the endpoint you are trying is correct? According to the docs, it should be a `POST` to `https://{monetization_server_IP}:8080/mint/config/properties/mint.invalidTscStorage.setting?value=discard`

The example of the bottom of the docs page appears to be incorrect.

Thanks for your response and bring my attention.  

Yes, you are correct, but booth endpoint are incorrect: it should be the below, it worked: 

curl -u admin:admin123 -X POST "https://monetization_server_IP:8080/v1/mint/config/properties/mint.invalidTscStorage.setting?value=discard"

It should be POST.

It should has '/v1/' in the URL.

It should has /config/ in the URL.

The document should be updated.