HPE Morpheus Enterprise
1849787 Members
4315 Online
104044 Solutions
New Discussion

Question about Cypher API Put/Post

 
KoreyG
HPE Pro

Question about Cypher API Put/Post

I’m writing cyphers via API. I noticed that a POST can overwrite/update a cypher value, which I expected POST just to create new and PUT to update (PUT is supported on the same endpoint). Should POST be able to overwrite existing values?

2 REPLIES 2
cbunge
HPE Pro

Re: Question about Cypher API Put/Post

Yes, this is expected as that replicates vault’s API methods as well. Put/Post essentially perform the same action.

cbunge
HPE Pro

Re: Question about Cypher API Put/Post

Note, in the UI, you must delete and recreate the mount, rather than have an update function.