{
  "opencollection": "1.0.0",
  "info": {
    "name": "Root Applications Secret keys API",
    "version": "1.0.1"
  },
  "request": {
    "auth": {
      "type": "basic",
      "username": "{{username}}",
      "password": "{{password}}"
    }
  },
  "items": [
    {
      "info": {
        "name": "Secret keys",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Retrieve all secret keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.uk.rootplatform.com/v1/insurance/secret-keys"
          },
          "docs": "Retrieve all secret keys"
        },
        {
          "info": {
            "name": "Create a secret key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://sandbox.uk.rootplatform.com/v1/insurance/secret-keys",
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Create a secret key"
        },
        {
          "info": {
            "name": "Retrieve an secret key by type",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://sandbox.uk.rootplatform.com/v1/insurance/secret-keys/:type",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the secret key [secret-keys](ref:secret-keys)."
              }
            ]
          },
          "docs": "Retrieve an secret key by type"
        },
        {
          "info": {
            "name": "Upsert a secret key",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://sandbox.uk.rootplatform.com/v1/insurance/secret-keys/:type",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the secret key [secret-keys](ref:secret-keys)."
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Upsert a secret key"
        },
        {
          "info": {
            "name": "Archive a secret key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "https://sandbox.uk.rootplatform.com/v1/insurance/secret-keys/:type",
            "params": [
              {
                "name": "type",
                "value": "",
                "type": "path",
                "description": "The unique identifier of the secret key [secret-keys](ref:secret-keys)."
              }
            ]
          },
          "docs": "Archive a secret key"
        }
      ]
    }
  ],
  "bundled": true
}