Zoho Vault API: Create new Secrets

Zoho Vault API: Create new Secrets

Hello,

I attempt to Post Secrets to the vault, since the encrypted entries are almost impossible to decrypt, since there is no documentation on how to decrypt them.

Like with the lack of documentation on how to descrypt, there are missing information regarding on how to create new secrets/post secrets. Source: https://www.zoho.com/vault/api/#create-a-new-secret

When I try to send JSON Informationen as a POST-Request I only receive the error message:
{
    "operation": {
        "result": {
            "error_code": "",
            "message": "Sorry, we are unable to process your request.",
            "status": "failed"
        }
    }
}

(those are just the example data from the documenation)

curl https://vault.zoho.com/api/rest/json/v1/secrets\
    -H "Content-Type: application/json;charset=UTF-8" \
    -H "Authorization: Zoho-authtoken ***My Token*" \
    -d 'INPUT_DATA
{  
 "secertdata":{  
  "password":"QAEMRCPqgln0Fh6W/LI=",
  "file":"2gKN1MWdgVk=",
  "username":"QAHvqSPqglkxJKnDgq4="
 },
 "secretname":"Secret Name",
 "classification":"E",
 "securenote":"QQHI6yPqglk=",
 "tags":"tags",
 "description":"description about secret",
 "passwordmodified":false,
 "policyid":"1000000000041",
 "secreturl":"https://tumbler.com",
 "secreters":["https://tumbler.com"],
"secrettypeid":"1000000004293"
}'

Did I misunderstood how to post the content or what is my mistake here?




                            Zoho Desk Resources

                            • Desk Community Learning Series


                            • Digest


                            • Functions


                            • Meetups


                            • Kbase


                            • Resources


                            • Glossary


                            • Desk Marketplace


                            • MVP Corner


                            • Word of the Day



                                Zoho Marketing Automation
                                        • Sticky Posts

                                        • iOS 12 update: Introducing autofill passwords and Siri Shortcuts in Zoho Vault

                                          With this iOS 12 release, Zoho Vault users can now autofill usernames and passwords on Safari and other third-party apps. Users can enjoy a seamless login experience to their everyday apps without compromising security and also access passwords stored in Zoho vault with Siri Shortcuts by adding personalized phrases. How to enable autofill password on your iOS device? First, you need to update your device to iOS 12.  Apple recommends you to take a backup before you update your device to the latest


                                        Manage your brands on social media



                                                Zoho TeamInbox Resources

                                                  Zoho DataPrep Resources



                                                    Zoho CRM Plus Resources

                                                      Zoho Books Resources


                                                        Zoho Subscriptions Resources

                                                          Zoho Projects Resources


                                                            Zoho Sprints Resources


                                                              Qntrl Resources


                                                                Zoho Creator Resources


                                                                  Zoho WorkDrive Resources



                                                                    Zoho Campaigns Resources

                                                                      Zoho CRM Resources

                                                                      • CRM Community Learning Series

                                                                        CRM Community Learning Series


                                                                      • Tips

                                                                        Tips

                                                                      • Functions

                                                                        Functions

                                                                      • Meetups

                                                                        Meetups

                                                                      • Kbase

                                                                        Kbase

                                                                      • Resources

                                                                        Resources

                                                                      • Digest

                                                                        Digest

                                                                      • CRM Marketplace

                                                                        CRM Marketplace

                                                                      • MVP Corner

                                                                        MVP Corner

                                                                      





                                                                      




                                                                          Design. Discuss. Deliver.

                                                                          Create visually engaging stories with Zoho Show.

                                                                          Get Started Now